print rflush sendfile

[prev] [thread] [next] [Date index for 2004/11/19]

From: Robert Ferney
Subject: print rflush sendfile
Date: 03:13 on 19 Nov 2004
I am experancing the following undesirable behavior. 

My code looks somethign like this..

$r->print("Some htmlish bits");
$r->rflush;
$r->sendfile("/path/to/somefile");
$r->print("Some more htmlish bits");
$r->rflush;
$r->sendfile("/path/to/someotherfile");

which I do twice before I finish the request.

The problem is, the Some htmlish bits are showing up after the
contents of the file..  at the same time, the someotherfile is showing
up after all the htmlish bits.

Tested on SuSE 9.0 and 9.1 and cpan says my mod_perl is uptodate.

        -- 
        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

print rflush sendfile
Robert Ferney 03:13 on 19 Nov 2004

Re: print rflush sendfile
Robert Ferney 05:28 on 19 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52