httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Steinmetz <>
Subject Re: [PATCH] fix incorrect 304's responses when cache is unwritable
Date Mon, 08 Aug 2005 20:16:17 GMT
Graham Leggett wrote:
> Andreas Steinmetz said:
>>The problem is that you can't remove directories with htcacheclean
>>without generating race conditions wrt. httpd.
> In this case the race in httpd should be fixed.
> In theory, httpd should attempt to create the directory, then attempt to
> move the file to that directory. If the move fails, attempt to create a
> directory and move the file again, until successful or some sane max
> retries, in which case give up and don't cache the file.

Fix attached and compile tested against 2.1.6 alpha.

Andreas Steinmetz                       SPAMmers use

View raw message