httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Marr <gr...@alum.wpi.edu>
Subject Re: the ap_r* thing (was: Re: Apache 2.0 beta STATUS)
Date Mon, 22 Jan 2001 19:10:44 GMT
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.  :)

The rest of your message did help clear a few other things up, thanks.

-- 
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"


Mime
View raw message