ID: 44874
Updated by: [email protected]
Reported By: Richard dot Krehbiel at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Streams related
Operating System: Windows XP/Server 2003
PHP Version: 5.2.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-04-30 18:40:17] Richard dot Krehbiel at gmail dot com
Description:
------------
A web page makes a connection to some service with pfsockopen, then
that service dies and is restarted; Future calls to pfsockopen can
return the previously opened socket, to which I/O operations immediately
fail.
This looks like a reincarnation of #23837, a bug which was closed in
2003.
I did manage to track down the error, to main/streams/xp_socket.c, line
280. Change "0 == recv" to "0 >= recv". Windows returns an error at
this point, not 0, because it wants to return ECONNRESET. When I make
this change, the issue is resolved.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44874&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.