httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27927] New: - Multiple file buckets delivered incorrectly by emulate_sendfile
Date Thu, 25 Mar 2004 00:01:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27927>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27927

Multiple file buckets delivered incorrectly by emulate_sendfile

           Summary: Multiple file buckets delivered incorrectly by
                    emulate_sendfile
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bojan@rexursive.com


When multiple file buckets exist in a brigade that is to be sent out and
emulate_sendfile() is used to do it, some buckets may be misaligned (i.e. the
output will appear garbled). The issue is related to a missing apr_file_seek()
call when offset is 0 (i.e. emulate_sendfile() incorrectly assumes that it is at
the beginning of the file).

The patch that fixes that problem is attached.

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


Mime
View raw message