Bug #10499: User abort causes page to be dumped into error_log
| From: | dbenson at mancala dot com | Date: | Wed, 25 Apr 2001 21:06:09 +0000 |
| Subject: | Bug #10499: User abort causes page to be dumped into error_log | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52438@lists.php.net to get a copy of this message | ||
From: dbenson@mancala.com
Operating system: Linux / Solaris
PHP version: 4.0.4pl1
PHP Bug Type: Output Control
Bug description: User abort causes page to be dumped into error_log
With output buffering enabled, if the user presses the stop button in their web client on a page
which is executing slowly, when the code completes the page results are written to the apache
error_log.
Run the included script and hit the stop button before it completes. The page output (numbers) will
be written to the error_log.
<?php
ob_start ();
for ($i = 0; $i < 50000; $i++) {
echo "$i ";
}
?>
Happens on both Linux (RH7) and Solaris (2.7)
--
Edit Bug report at: http://bugs.php.net/?id=10499&edit=1