Re: print rflush sendfile

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

From: Robert Ferney
Subject: Re: print rflush sendfile
Date: 05:28 on 19 Nov 2004
Paint me purple and color me an idiot, nevermind, I found my problem.
thanks yall anyway.


On Thu, 18 Nov 2004 20:13:19 -0700, Robert Ferney <capnregex@xxxxx.xxx> wrote:
> 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