Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
p.s. as it seems you've read a lot of the apache code, is it being used at all for that particular reason of not needing to pass bucket_alloc around but get it from the bb?
Well it's used a lot in apr_brigade.c, because it makes sense for apr-only apps to do it that way. In httpd you'll find a few example usages
in the mod_cache and mod_ssl implementations, which are fairly serious
modules.
So, based on your experience, should we advise users to use that method just for convenience?. Or should we use $c->bucket_alloc or their own alloc'ed object in all examples and only in the doc for APR::Brigade::bucket_alloc explain that one needs to be careful when using that method, presenting the scenario we discussed in this thread?
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]