#23567 [Asn->Csd]: pfsockopen() returning bad connection
| From: | wez@php.net | Date: | Tue, 13 May 2003 00:13:59 +0000 |
| Subject: | #23567 [Asn->Csd]: pfsockopen() returning bad connection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39504@lists.php.net to get a copy of this message | ||
ID: 23567
Updated by: wez@php.net
Reported By: dietrich dot ayala at foundstone dot com
-Status: Assigned
+Status: Closed
Bug Type: Sockets related
-Operating System: windows 2000
+Operating System: all
-PHP Version: 4.3.1
+PHP Version: 4.3.x
Assigned To: wez
New Comment:
Fixed in CVS.
Please wait for next snapshot (and static openssl version of
php4ts.dll) to be built.
Previous Comments:
------------------------------------------------------------------------
[2003-05-09 13:08:59] dietrich dot ayala at foundstone dot com
if i connect to a remote system using pfsockopen, and the remote system
closes the connection (say it's a web server, and returns 500),
subsequent calls to pfsockopen (to same remotes system) return a stream
resource, but attempting to use the resource results in "invalid
stream" errors.
seems like it's returning the original connection, even though it's not
alive, instead of creating a new one.
this is in a single script (so a single process), and is repeatable.
i reproduced in isapi and cgi under IIS/W2K.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23567&edit=1