httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject Re: mod_disk_cache: htcacheclean and rm -rf
Date Tue, 16 Dec 2008 23:22:05 GMT
Vincent Reydet <mrlag@buggynet.org> writes:

> But if mod_cache starts to read a file, and rm erase this file at this
> moment, a bad content is sent to the client ?
> It would happen on a big website no ?

That's not a problem on Unix.  If mod_cache has the file open, the
content won't go away until the file is closed, even if rm removes the
directory entry.  I wouldn't try it on Windows, though.

Dan Poirier
poirier@pobox.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message