#26238 [Opn->Ver]: flush() doesn't work with output_buffering = 4096

From: Date: Tue, 18 Nov 2003 03:47:14 +0000
Subject: #26238 [Opn->Ver]: flush() doesn't work with output_buffering = 4096
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50587@lists.php.net to get a copy of this message
ID: 26238 Updated by: sniper@php.net Reported By: spam at vrana dot cz -Status: Open +Status: Verified Bug Type: Output Control Operating System: Windows XP PHP Version: 4.3.3 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

« previous php.bugs (#50587) next »