Patch: Prevent crit error being loggged on delete of non-existent file

Maxim Dounin mdounin at
Tue Nov 19 16:52:33 UTC 2013


On Tue, Nov 19, 2013 at 04:43:54PM -0000, Steven Hartland wrote:

> Hi guys the attached patch prevents http file cache from
> logging a critical error when a file delete fails due to
> it not existing, which I'm sure was never the intention.

Why you think it's not an intention?  If a file doesn't exists 
but nginx tries to delete it - it means that nginx has wong notion 
of what is on disk.  It's certainly a problem which deserves 

Maxim Dounin

More information about the nginx-devel mailing list