You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2012/08/17 15:48:37 UTC

[Bug 43386] Default handler produces wrong content length when replacing file

https://issues.apache.org/bugzilla/show_bug.cgi?id=43386

Joe Orton <jo...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Joe Orton <jo...@redhat.com> ---
I was wrong before, back in comment 2.  There is literally no way to fix these
races in the default handler.  open() fstat() sendfile() still has a race
between fstat to determine the Content-Length, and the sendfile, during which
the file could change.  "Design a different web server" is out of scope for
bugzilla.

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

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