httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: the ap_r* thing (was: Re: Apache 2.0 beta STATUS)
Date Mon, 22 Jan 2001 19:17:14 GMT
On Mon, Jan 22, 2001 at 02:10:44PM -0500, Greg Marr wrote:
> At 01:51 PM 01/22/2001, Greg Stein wrote:
> >On Mon, Jan 22, 2001 at 01:16:23PM -0500, Greg Marr wrote:
> > > At 06:36 AM 01/22/2001, Greg Stein wrote:
> > >...
> > > >An answer is to tell everybody "you must use r->bb, and never 
> > your
> > > >own brigade."
> > >
> > > A better answer is to tell people to ap_rflush() before calling
> > > functions they don't control that may generate output, and to call
> > > ap_rflush after generating output using ap_r* if the function may 
> > be
> > > called by functions they don't control.
> >
> >This would be inadvisable.  ap_rflush() will deliver to the 
> >network.  The hope is to synchronize the ordering, rather than 
> >generate network packets :-)
> 
> Okay, so I guess that apr_brigade_flush() would be a better call to 
> use, but that does bring up the question I had in my other message.  :)

Which question? It's hard to keep track, and I read all this stuff. Our
audience viewers could be even more confused :-)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message