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=38697>.
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=38697

           Summary: tomcat native calls apr_socket_sendfile even when
                    routine doesn't exist
           Product: Tomcat 5
           Version: Nightly Build
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Native:Integration
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


The apr_socket_sendfile routine does not exist on all platforms. 
APR_HAS_SENDFILE is set to 0 in these 
cases. The tomcat native support does not respect this flag, and tries to call 
the sendfile routine anyway, 
resulting in a crash at runtime.

This occurs, for instance, on Mac OS X 10.4 Tiger, where the underlying 
sendfile routine is not 
implemented.

Perhaps there's a way to back away from using sendfile if the routine doesn't 
exist, while still allowing the 
rest of apr support?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to