#17878 [Dup->Csd]: Connection handling functions broken

From: Date: Fri, 20 Sep 2002 02:04:31 +0000
Subject: #17878 [Dup->Csd]: Connection handling functions broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19821@lists.php.net to get a copy of this message
ID: 17878 Updated by: sniper@php.net Reported By: Jean-Luc.Parouty@inria.fr -Status: Duplicate +Status: Closed Bug Type: Scripting Engine problem Operating System: Linux RedHat 7.2 PHP Version: 4.0CVS-2002-06-20 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-06-20 12:47:23] sander@php.net Dupe of #11831 ------------------------------------------------------------------------ [2002-06-20 12:35:56] Jean-Luc.Parouty@inria.fr Connection handling functions doesn't works with Apache 2.0.39 Problem was same with php 4.2.1 and Apache 2.0.36 Here is a script that write a tmp trace file.. Anytime, connection look like "NORMAL" (0 code) and detection of a connection abort is impossible... - pjluc <? $old=ignore_user_abort(false); $now=ignore_user_abort(); register_shutdown_function("end_of_script"); print "Start...($old,$now)<br>"; sleep(2); phpinfo(); sleep(2); print "...End<br>"; function end_of_script(){ $line="Status=[".connection_status()."][".connection_aborted()."]\n"; $out=fopen("/tmp/foo.txt","a"); fwrite($out,$line); fclose($out); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17878&edit=1

« previous php.bugs (#19821) next »