httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Problem with content length filter
Date Sun, 12 Nov 2000 17:47:51 GMT

> > Do we need to start refcounting apr_open / apr_close?
> I think it's more likely that we need to start refcounting file buckets and
> implement file_destroy() to take care of closing the file when all references are
> gone.  Then take the responsibility for closing the file away from the default
> handler.  Does that make sense?  I can do this today if somebody will tell me first
> that they +1 it as the right approach.

It's overkill.  The simple fact that the bucket was allocated out of a
pool will make the file go away, and the bucket_destroy function will make
the bucket itself go away.


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message