#37129 [NEW]: ignore_user_abort not working
| From: | devrjason at gmail dot com | Date: | Tue, 18 Apr 2006 21:21:38 +0000 |
| Subject: | #37129 [NEW]: ignore_user_abort not working | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-95959@lists.php.net to get a copy of this message | ||
From: devrjason at gmail dot com
Operating system: Windows_NT
PHP version: 5.1.2
PHP Bug Type: Scripting Engine problem
Bug description: ignore_user_abort not working
Description:
------------
Looks like bug #17265 broke again, but I was unable to add a comment to it
since it's closed. This code doesn't stop running when the page is aborted.
Reproduce code:
---------------
$mcon = mysql_connect("localhost", "root", "*****")
or die("mysql connect failed");
while (1) {
sleep(3);
$status = connection_status();
@mysql_query("insert into test.tests set charv='Connection status:
$status'",$mcon);
$status = connection_aborted();
@mysql_query("insert into test.tests set charv='Connection aborted:
$status'",$mcon);
}
Expected result:
----------------
No more entries after script is aborted.
Actual result:
--------------
Script continues making entries until it times out.
--
Edit bug report at http://bugs.php.net/?id=37129&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37129&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37129&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37129&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37129&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37129&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37129&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37129&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37129&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37129&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37129&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37129&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37129&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37129&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37129&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37129&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37129&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37129&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37129&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37129&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37129&r=mysqlcfg