Bug #17964: socket fclose CLOSE_WAIT

From: Date: Tue, 25 Jun 2002 09:37:58 +0000
Subject: Bug #17964: socket fclose CLOSE_WAIT
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12020@lists.php.net to get a copy of this message
From: filippo@zirak.it Operating system: linux 2.4.4 PHP version: 4.2.1 PHP Bug Type: Sockets related Bug description: socket fclose CLOSE_WAIT $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 bug report at http://bugs.php.net/?id=17964&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17964&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17964&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17964&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17964&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17964&r=support Expected behavior: http://bugs.php.net/fix.php?id=17964&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17964&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17964&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17964&r=globals

« previous php.bugs (#12020) next »