#38532 [NEW]: connection status does not reflect the right information

From: Date: Mon, 21 Aug 2006 08:05:53 +0000
Subject: #38532 [NEW]: connection status does not reflect the right information
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101027@lists.php.net to get a copy of this message
From: fdcxl at 163 dot com Operating system: linux PHP version: 5.1.5 PHP Bug Type: *Web Server problem Bug description: connection status does not reflect the right information Description: ------------ connection_status function can't reflect the right information. When I click Stop button of IE, I can't get the ABORT signal. Reproduce code: --------------- conn.php <?php while(true) { sleep(1); file_put_contents("/tmp/abc", "Connection:".connection_status()."\n", FILE_APPEND); } ?> I access this page using IE with http, after about 10 seconds, I click Stop button of IE. Expected result: ---------------- The contents of /tmp/abc should be a sequence of 0s with one 1 in the end. The script stops. Actual result: -------------- I get all 0s, and script keeps running -- Edit bug report at http://bugs.php.net/?id=38532&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38532&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38532&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38532&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38532&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38532&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38532&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38532&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38532&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38532&r=support Expected behavior: http://bugs.php.net/fix.php?id=38532&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38532&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38532&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38532&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38532&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38532&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38532&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38532&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38532&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38532&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38532&r=mysqlcfg

« previous php.bugs (#101027) next »