httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Leggett" <minf...@sharp.fm>
Subject Re: [PATCH] fix incorrect 304's responses when cache is unwritable
Date Mon, 08 Aug 2005 16:46:42 GMT
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.

Regards,
Graham
--


Mime
View raw message