PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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).