You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Stas Bekman <st...@stason.org> on 2005/05/12 06:00:47 UTC

why there is no apr_save_brigade?

Anybody can tell why there is no apr_save_brigade in libapr?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: why there is no apr_save_brigade?

Posted by Stas Bekman <st...@stason.org>.
William A. Rowe, Jr. wrote:
> Because nobody added it?  (It would be apr_brigade_save).

right. but is there a reason why does it exist as ap_save_brigade and not 
apr_brigade_save?

> I'm actually more concerned with adding an apr_brigade_consume;
> it's used in the ssl stack already.  The fact is that some folks
> reading a brigade will simply consume the buckets contained
> within, and it's sub-optimal to leave them lying about.

but it's not the same functionality, no?

>>Anybody can tell why there is no apr_save_brigade in libapr?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: why there is no apr_save_brigade?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Because nobody added it?  (It would be apr_brigade_save).

I'm actually more concerned with adding an apr_brigade_consume;
it's used in the ssl stack already.  The fact is that some folks
reading a brigade will simply consume the buckets contained
within, and it's sub-optimal to leave them lying about.

Bill

At 11:00 PM 5/11/2005, Stas Bekman wrote:
>Anybody can tell why there is no apr_save_brigade in libapr?
>
>-- 
>__________________________________________________________________
>Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
>http://stason.org/    mod_perl Guide ---> http://perl.apache.org
>mailto:stas@stason.org http://use.perl.org http://apacheweek.com
>http://modperlbook.org http://apache.org  http://ticketmaster.com