Justin Erenkrantz wrote: > > > I tend to prefer Jeff's solution of having APR return APR_ENOTIMPL when the > APR_SENDFILE_AUTODETECT flag is set and we'd fail. I'm ambivalent if we > decide to have apr_socket_sendfile() internally call emulate_sendfile because > apr_socket_sendfile() has always been an optional function > (APR_HAS_SENDFILE). > If we go this route of having it mask the choice, then apr_socket_sendfile() > should always be present and we can clean up the code in httpd accordingly. >
Seems to me, having apr_socket_sendfile universally available and having APR deal with whether sendfile exists or how to implement or emulate it makes the most sense... -- =========================================================================== Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "There 10 types of people: those who read binary and everyone else."
