ID: 17964
Comment by: ruben at textinfo dot nl
Reported By: filippo at zirak dot it
Status: No Feedback
Bug Type: Sockets related
Operating System: linux 2.4.4
PHP Version: 4.2.1
New Comment:
I'm experiencing the same problem with PHP 4.3.4 on Windows 2000
Advanced Server running IIS 5 and on a Solaris 9 machine running PHP
4.2.2.
I'm using:
$this->socket = fsockopen($serverip, $serverport);
to open the connection and:
fclose($this->socket);
to close it. If I check the server it connects to with netstat after
the fclose call the connection stays in CLOSE_WAIT state.
Is there any solution for this already?
Previous Comments:
------------------------------------------------------------------------
[2003-09-13 17:27:27] n-a at mail dot com
I have the same bug in php 4.3.1
This bug is presented only with SOME servers. Approx. 5-10% of internet
servers.
------------------------------------------------------------------------
[2002-07-01 17:33:59] [EMAIL PROTECTED]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
I can not reproduce this, and their was no feedback
------------------------------------------------------------------------
[2002-06-25 05:42:25] [EMAIL PROTECTED]
Can you please try the latest non-stable snapshot from snaps.php.net,
it is likely that this is fixed already.
Derick
------------------------------------------------------------------------
[2002-06-25 05:37:58] filippo at zirak dot 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