ID:               44186
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zulcss at ubuntu dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         CGI related
 Operating System: Ubuntu
 PHP Version:      5.2.5
 New Comment:

When you tell PHP in first line of your script to ignore user abort, of
course the script continues normally and abort IS ignored. No bug here.


Previous Comments:
------------------------------------------------------------------------

[2008-02-20 14:16:54] zulcss at ubuntu dot com

Description:
------------
When using php in fastcgi mode, it does not detect any user abort.
connection_status() always return 0, even after user aborts connection.

Reproduce code:
---------------
<?
ignore_user_abort(true);

echo "hello";
flush();
sleep(10);
echo "bye"

$fp=fopen('/tmp/conection_log.txt','a');
fputs($fp,'Connection status is: '.connection_status()."\n");
fclose($fp);
?>

Expected result:
----------------
Return 0

Actual result:
--------------
Not return 0.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44186&edit=1

Reply via email to