Re: Re: Bug #1685 Updated: fclose() doesn't close tcp socket

From: Date: Sat, 10 Jul 1999 19:03:06 +0000
Subject: Re: Re: Bug #1685 Updated: fclose() doesn't close tcp socket
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-8283@lists.php.net to get a copy of this message
Sascha Schumann wrote: > Sockets in CLOSE_WAIT state are normal. But it's not normal that you have to restart Apache in order to make them disappear. > I therefore don't see a > bug there. It would be helpful to see the output of the program > in a comparison between php 3.0.x/latest cvs. OK. Same bug demonstration code on a PHP 3.0.9 served URL: http://www.mdb.ku.dk/tarvin/socket/ Notice how there are never ESTABLISHED sockets on the 3.0.9 served page after the socket is closed. There, the connection status goes to TIME_WAIT right away and soon vanishes. -- Greetings from Troels Arvin, Copenhagen, Denmark http://www.mdb.ku.dk/tarvin/

« previous php.dev (#8283) next »