httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: mod_cache wishlist
Date Tue, 23 Aug 2005 15:01:37 GMT
Bill Stoddard wrote:

> I've not looked at your code so I can't make specific recommendations. 
> Just remember, code allocated with any of the apr_pool functions is 
> freed only when that pool is reclaimed (end of a request for a request 
> pool, shutdown of the server for pconf, etc.). mod_mem_cache uses the 
> functions 'cache_hash', a 'de-poolized' apr_hash, for this exact reason.

Or, you could use lots of sub-pools...

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message