Home » Networking » Net_Socket » Bug #3100
ssl:// is causing Net_Socket::connect() to fail
Details
| Submitted | 2005-01-04 23:48 UTC |
|---|---|
| From | joe at joestump dot net |
| Assigned | chagenbu |
| Status | Closed |
| Package | Net_Socket |
| PHP Version | Irrelevant |
| OS | Linux/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).