Bug #17964 Updated: socket fclose CLOSE_WAIT
| From: | derick@php.net | Date: | Tue, 25 Jun 2002 09:42:25 +0000 |
| Subject: | Bug #17964 Updated: socket fclose CLOSE_WAIT | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12022@lists.php.net to get a copy of this message | ||
ID: 17964
Updated by: derick@php.net
Reported By: filippo@zirak.it
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: linux 2.4.4
PHP Version: 4.2.1
New Comment:
Can you please try the latest non-stable snapshot from snaps.php.net,
it is likely that this is fixed already.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-06-25 05:37:58] filippo@zirak.it
$fp=fopen("127.0.0.1", $myport, 3);
... (actions)
fclose($fp);
if the server does not close itself the connetion, but is the php
client to close it with fclose, this leads invariably to leave the
server connection in a CLOSE_WAIT state (for looooong time, not
secs!).
Filippo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17964&edit=1