#23837 [Opn->Asn]: pfsockopen() returning bad connection when host restarts
ID: 23837
Updated by: sniper@php.net
Reported By: dietrich dot ayala at foundstone dot com
-Status: Open
+Status: Assigned
Bug Type: Sockets related
Operating System: windows 2000
PHP Version: 4.3.2RC4
Assigned To: wez
New Comment:
No example script here either. Can not reproduce.
Previous Comments:
------------------------------------------------------------------------
[2003-05-27 14:47:45] wez@php.net
Assigning to myself; it would be good if some other people could verify
if this problem exists on other platforms, and if this is a critical
issue.
------------------------------------------------------------------------
[2003-05-27 12:52:08] dietrich dot ayala at foundstone dot com
If I make a persistent connection to a host, then cycle the host,
subsequent requests to pfsockopen return a connection (no error), but
any subsequent calls to fgets() (and any socket-accessing kin) using
the pointer fail w/ bad connection errors.
Previously, I reported this problem when the host *never* comes back
up, and Wez fixed that. But it appears this also happens when the host
is cycled as well.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23837&edit=1
Thread (7 messages)