#23837 [Opn->Asn]: pfsockopen() returning bad connection when host restarts

From: Date: Tue, 27 May 2003 22:16:28 +0000
Subject: #23837 [Opn->Asn]: pfsockopen() returning bad connection when host restarts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40534@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#40534) next »