Geoffrey Young wrote:
hi
within each bucket brigade is a pool. according to the docs (apr_bucket.h), the pool isn't involved with the allocation of the brigade, but rather is associated with the brigade.
I think that it would be useful to have access to that pool. in perl, it would mean that when using a brigade created as
my $bb = APR::Brigade->new($r->pool, $c->bucket_alloc);
one option for gleaning a pool would be to
my $pool = $bb->pool
which would (hopefully) provide a pool with a lifetime not shorter than the data in the brigade. at least if the brigade is constructed properly, the pool could be depended upon for other things (such as APIs outside of a mod_perl environment where $r->pool isn't easily accessible).
anyway, here's a patch to open up $bb->pool
Looks good, but what do we need it for, again?
shouldn't we work on todo/release first and solving probs that we encounter or reported?
__________________________________________________________________ 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]
