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 (others versions is ok)
> this code is ok in modperl 1.27 using windows xp and ie6
> but if you try modperl 2.0 (last cvs using perl 5.8.0) and httpd-2.0
> this code have one problem
>
> code don't send flush, print only when finish
> hummmm $| = 1 in modperl 2.0 dont run :/
Yup, this doesn't work yet. Use $r->rflush() for now.
__________________________________________________________________
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