httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Issac Goldstand <>
Subject Re: mod_cache responsibilities vs mod_xxx_cache provider responsibilities
Date Wed, 20 Sep 2006 13:18:58 GMT

Niklas Edmundsson wrote:
> On Mon, 18 Sep 2006, Brian Akins wrote:
>> Niklas Edmundsson wrote:
>>> * Only one session caches the same file.
>> Easy to do if we use deterministic tmp files and not the way we 
>> currently do it.  Then all you have to do is when creating temp files 
>> use O_EXCL.
> Or, if we skip the tmp files altogether.
Which would happen to be great on win32 systems, for example, where 
renaming the temp data file fails immediately if another thread happens 
to be serving content from the old one, thus leaving you with a new 
header file with an old data file, which is a useless mess.

View raw message