httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 43386] Default handler produces wrong content length when replacing file
Date Fri, 17 Aug 2012 13:48:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43386

Joe Orton <jorton@redhat.com> changed:

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

--- Comment #8 from Joe Orton <jorton@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


Mime
View raw message