ID: 26238
Updated by: [EMAIL PROTECTED]
Reported By: spam at vrana dot cz
Status: Verified
Bug Type: Output Control
Operating System: *
PHP Version: 4CVS, 5CVS
New Comment:
Here's nice and short reproduce script:
# php -d'output_buffering=2' -r 'while(1) {echo "."; flush(); sleep(1);
}'
Previous Comments:
------------------------------------------------------------------------
[2003-11-17 13:14:20] scottm at spamcop dot net
Confirmed.
If you set output_buffering = 3 then it will flush them in groups of
three.
Running RH9, Apache 1.3.29 and PHP 4.3.4
------------------------------------------------------------------------
[2003-11-13 08:40:59] spam at vrana dot cz
Description:
------------
I have set output_buffering = 4096 and flush(), ob_implicit_flush(),
ob_flush() and similar functions doesn't work. This is reproducible in
PHP Apache module, in PHP-CLI and also on Linux.
Reproduce code:
---------------
while (true) {
echo ".";
flush();
sleep(1);
}
Expected result:
----------------
. (1 second) . (1 second) ...
Actual result:
--------------
nothing (for output_buffering seconds)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26238&edit=1