httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47693] GET request has race condition w.r.t. replacement of file being served
Date Fri, 14 Aug 2009 11:34:45 GMT

Dan Poirier <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Dan Poirier <> 2009-08-14 04:34:41 PDT ---
That's all true, but are there are any feasible ways to fix the behavior?  For
that matter, what is the right behavior if a file changes in the middle of a

The server could ensure consistency by making a complete copy of every file
before beginning to serve it, but that's not reasonable for any significant
load.  There might be some operating systems where the server could get an
exclusive lock on the file before beginning to serve it, but not on most OSes.

Practically speaking, the solution is not to change files under a running
server.  Or serve the content from a database or other source with true atomic

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message