#20447 [Com]: Register_shutdown_function - connection still open while registered shutdown...

From: Date: Fri, 25 Jun 2004 12:33:23 +0000
Subject: #20447 [Com]: Register_shutdown_function - connection still open while registered shutdown...
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361511@lists.php.net to get a copy of this message
ID: 20447 Comment by: mail at spybreak dot de Reported By: richardz at omniture dot com Status: Analyzed Bug Type: Documentation problem Operating System: RedHat 7.2 PHP Version: 4.2.3 New Comment: I'm really interested myself under which conditions a script still can output data to the client using register_shutdown_function(). If this is a documentation problem, how's this really to work? Previous Comments: ------------------------------------------------------------------------ [2004-06-25 14:33:12] mail at spybreak dot de I'm really interested myself under which conditions a script still can output data to the client using register_shutdown_function(). If this is a documentation problem, how's this really supposed to work? ------------------------------------------------------------------------ [2004-03-18 04:02:52] php at mcking dot nl I tested this on a system with: OS: Fedora Linux Core 1 Apache version: 2.0.48-1.2 PHP version: 4.3.4-1.1 And the connection to the browser was still open. So the bug isn't solved yet! ------------------------------------------------------------------------ [2003-11-20 17:09:52] gabe at websaviour dot com Could you elaborate on that please? I am experiencing the bug in PHP 4.3.0 and Apache 1.3.27 on OS X, 10.2.8, as well as PHP 4.1.2 on Apache 1.3.22 on Red Hat Linux. Under what conditions will it work? I need this function to work as advertised to perform some time- consuming tasks in the background and let the user move on. Since this is pretty much the only way to achieve anything approaching asynchronous processing in the Apache PHP environment it seems fairly important. ------------------------------------------------------------------------ [2003-08-10 21:24:16] iliaa@php.net This is a documtation problem. Under certain condition you may infact be able to output data to the browser from inside the register_shutdown_function handler. ------------------------------------------------------------------------ [2003-05-04 02:31:26] spic@php.net Is this a documentation problem or a php-bug? According to some users the documented behaviour worked under PHP < 4.1.0, but now the function behaves differently. Could someone please check this? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20447 -- Edit this bug report at http://bugs.php.net/?id=20447&edit=1

« previous php.doc (#969361511) next »