DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25718>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25718

Apache 2's sendfile revision detection for FreeBSD is somewhat broken

           Summary: Apache 2's sendfile revision detection for FreeBSD is
                    somewhat broken
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Platform
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Apache (really apr, I guess) attempts to be clever and detect the version
of FreeBSD at runtime; this information is then used to determine whether
or not the length of headers needs to be added to the length passed to
sendfile.  This is to work around a bug present before 4.6-stable which
required the length to be passed.

Anyway, this entire check is unneeded.  As part of the fix, alfred perlstein
created a new sendfile syscall; any program compiled with < 4.6 header files
will use the old syscall which requires the header length to be added in, and
any program compiled with > 4.6 will call the new syscall.  Hence, only a
compile time check should be done.  The current runtime test is basically
one huge no-op.  Patch will be attached in a second.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to