Bug #17878 Updated: Connection handling functions broken
| From: | sniper@php.net | Date: | Thu, 20 Jun 2002 23:03:12 +0000 |
| Subject: | Bug #17878 Updated: Connection handling functions broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11620@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
-Bug Type: Unknown/Other Function
+Bug Type: Scripting Engine problem
Operating System: Linux RedHat 7.2
PHP Version: 4.0CVS-2002-06-20
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