Stas Bekman <[EMAIL PROTECTED]> writes: > Joe Schaefer wrote: >> $bucket->setaside($pool) means
>> the apr_bucket_t attached to this APR::Bucket object needs to >> survive as long as the underlying apr_pool_t. However, if >> that apr_pool_t is owned by some APR::Pool object, that object >> should [*] survive at least as long as the APR::Bucket object does. [...] > > So what do we hang the pool on? $bucket? +1. > That doesn't sound right, since the perl object may go away (thus > destroying the pool if noone else references it), but the underlying > bucket can't see that. so it's probably not enough, no? It is enough, if you're sticking to the text above. The pool is going to die at some point; the application (not mp2) has a bug if the bucket is used beyond that point. -- Joe Schaefer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
