note 15015 added to function.register-shutdown-function.php

From: Date: Fri, 24 Aug 2001 12:30:11 +0000
Subject: note 15015 added to function.register-shutdown-function.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-17072@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"); http://www.php.net/manual/en/function.register-shutdown-function.php

« previous php.notes (#17072) next »