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: Apache 2.0 beta STATUS
Date Mon, 22 Jan 2001 18:20:57 GMT
At 01:11 AM 01/22/2001, rbb@covalent.net wrote:

> > Please, Greg and Ryan, document -simply- where your patch stands 
> up and
> > the other falls down, so I can grok this quickly without wadeing 
> chin
> > deep in the filtering mechanics!
>
>Using apr_brigade_flush() function, it is possible to mix the API's
>
>It looks like an API that programmers are used to.  There is a 
>buffered
>and a non-buffered API.  The direct bucket calls are unbuffered, the
>brigade calls are buffered.  If you want to switch from buffered to
>unbuffered, you have to call apr_brigade_flush.

Shouldn't that be ap_rflush()?

>apr_brigade_flush is incredibly inexpensive.  If it is called and 
>isn't needed, it is a single if and a return.

ap_rflush() is more expensive than apr_brigade_flush().

Also, wouldn't the user have to do:

if(r->bb) {
     apr_brigade_flush(r->bb);
}

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