I don't know if this is a bug, or if I don't understand how bucket
brigades work. I have some code which does the following:

$r->print( "First" );
$r->sendfile( "/any/file" );
$r->print( "Last" );

This Produces:
        <the contents of /any/file>
        First
        Last
        
I thought it should produce:
        First
        <the contents of /and/file>
        Last

When I add an $r->rflush immediately before the sendfile the behavior is
as I expect, but should the rflush be required?

I am running perl 5.8.3, httpd 2.0.49 and have seen this behavior in
1.99_12 and 1.99_14.

-- 
  nicholas studt - 29 June 2004

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to