apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: do we still want sendfile enabled with our default conf files?
Date Fri, 18 Mar 2005 17:03:49 GMT
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   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
    "There 10 types of people: those who read binary and everyone else."

Mime
View raw message