note 15015 deleted from function.register-shutdown-function by jimw

From: Date: Tue, 18 Dec 2001 19:47:02 +0000
Subject: note 15015 deleted from function.register-shutdown-function by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23179@lists.php.net to get a copy of this message
Special note for people using HTTP/1.1 and keepalive connections... If you use register_shutdown_function() and don't explicitly close the connection, it's possible that the client software will try to use the same socket for subsequent requests. In my experience, that socket is unavailable if you're using a shutdown function. The workaround is to use this header: header ("Connection: close");

« previous php.notes (#23179) next »