PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_Socket » Bug #3100

ssl:// is causing Net_Socket::connect() to fail

Details

Submitted2005-01-04 23:48 UTC
Fromjoe at joestump dot net
Assignedchagenbu
StatusClosed
PackageNet_Socket
PHP VersionIrrelevant
OSLinux/All
Roadmaps(Not assigned)

Comments

[2005-01-04 23:48 UTC] joe at joestump dot net

Description:
------------
There is code in sendRequest() that adds 'ssl://' to the
$host, which is then passed to Net_Socket::connect() as
the $addr. The ssl:// is causing something to barf
because I keep getting an error that it couldn't look up
hostname.

Moving the $host = 'ssl://'.$host below the connection
call seemed to fix the issue (though it doesn't fix the
problem that I'm getting a malformed response, but
that's not an HTTP_Request issue).