httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@covalent.net>
Subject Re: mod_asis; apr_bucket_file_create->destroy->poolcleanup->fileclose
Date Sat, 13 Oct 2001 00:23:44 GMT


On Fri, 12 Oct 2001, Ryan Bloom wrote:

> The model is REALLY simple.  apr_file_t's are created by apr_file_open, at
> that time, a cleanup is registered on the pool that was passed into the file_open
> function.  apr_bucket_file_create just creates a bucket and puts the file into
> it.  When the bucket is destroyed, the bucket is freed() and we check the
> refcount to determine if we should call apr_file_close.

Hmm - I see it going to file_free(); but then not going to
apr_file_close(). but I get the gist now - digging deeper.

Dw



Mime
View raw message