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

From: Date: Sat, 10 Jul 1999 18:35:50 +0000
Subject: Re: Bug #1685 Updated: fclose() doesn't close tcp socket
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-8280@lists.php.net to get a copy of this message
Bug Database wrote: > ID: 1685 > Updated by: sas > Reported By: tarvin@mdb.ku.dk > Status: Assigned > Bug Type: Misbehaving function > Assigned To: sas > Comments: > > TCP is slow... insert a sleep(3) after the fclose and have a look at > the output then. At least I cannot reproduce the effect with the > current CVS. > > Full Bug description available at: http://bugs.php.net/?id=1685 Inserting sleep(3) at various places in the bug demonstration code doesn't help. Also: Watch how the number of ESTABLISHED (or - after a while: CLOSE_WAIT) connections increase when the bug demonstration page is reloaded. (The bug demonstration page is at http://www.fsr.ku.dk/people/troels/socket/) Applying http://cvs.php.net/cvsweb.cgi/functions/fsock.c.diff?r1=1.123&r2=1.124 doesn't help, either. I'll try installing a PHP version based on a complete CVS checkout. -- Greetings from Troels Arvin, Copenhagen, Denmark http://www.mdb.ku.dk/tarvin/

« previous php.dev (#8280) next »