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:
hi
i have one problem
look this source:
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;
}
if you try in modperl 1.27 using windows xp and ie6 (others versions is ok)
this code is ok
Udlei Nattis wrote:
hi
i have one problem
look this source:
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;
}
if you try in modperl 1.27 using windows xp and ie6
$r-rflush() doesnt work too
you have other idea?
bye
nattis
Stas Bekman wrote:
Yup, this doesn't work yet. Use $r-rflush() for now.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/
I've heard that American Standard makes an excellent flusher.
--Jon R.
Udlei Nattis wrote:
$r-rflush() doesnt work too
you have other idea?
bye
nattis
Stas Bekman wrote:
Yup, this doesn't work yet. Use $r-rflush() for now.