Udlei Nattis wrote:
$r->rflush() doesnt work too

you have other idea?
I believe this was a bug in httpd, where the content was buffered up to calculate the Content-Length header. I've tested it with the cvs version of httpd and $|=1 sends the unbuffered output as with your original example:

use strict;

$| = 1;

my ($i,$r);

$r = shift;

$r->content_type('text/html');

while ($i < 10) {
$r->printf($i."<br>\n");
$r->printf("\0");
$i++;
sleep 1;
}

-----------

$r->rflush() is indeed not working yet.


__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to