Jim Jagielski wrote:


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


Not to me. If it can't sendfile, tell me. I may know for my particular situation that I should use writev in stead, or mmap, or whatever. Don't make the decision for me. I have no problem defaulting to "off", but if I say "on", do it or fail and tell me why.




--
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Reply via email to