Public bug reported:

Binary package hint: php5-cgi

This is related with php bug: http://bugs.php.net/37256

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

I'm using hardy. It's supposed to be solved in PHP 5.2 since May 2006,
but perhaps hardy package 5.2.3-1ubuntu6.2 does not include the fix.

You can use this script to test the problem:
<?
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);


If you press stop after loading the page (you will have time because the sleep 
10), connection_status shouldn't be 0 at the end of the script.

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
php with fastcgi does not detect user abort
https://bugs.launchpad.net/bugs/193619
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to