#23837 [Opn]: pfsockopen() returning bad connection when host restarts
| From: | wez@php.net | Date: | Tue, 27 May 2003 19:47:45 +0000 |
| Subject: | #23837 [Opn]: pfsockopen() returning bad connection when host restarts | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40518@lists.php.net to get a copy of this message | ||
ID: 23837
Updated by: wez@php.net
Reported By: dietrich dot ayala at foundstone dot com
Status: Open
Bug Type: Sockets related
Operating System: windows 2000
PHP Version: 4.3.2RC4
-Assigned To:
+Assigned To: wez
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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