https://issues.apache.org/bugzilla/show_bug.cgi?id=45986





--- Comment #2 from Danijel Tasov <[EMAIL PROTECTED]>  2008-10-21 12:15:47 PST 
---
Hm, I see the problem. I agree with Marc.

       EAGAIN Non-blocking I/O has been  selected  using  O_NONBLOCK  and  the
              write would block.

       EBADF  The input file was not opened for reading or the output file was
              not opened for writing.

       EFAULT Bad address.

       EINVAL Descriptor is not valid or locked, or an mmap(2)-like  operation
              is not available for in_fd.

       EIO    Unspecified error while reading from in_fd.

       ENOMEM Insufficient memory to read from in_fd.

This are the errors sendfile could raise. At least an error should be
logged, if sendfile raises EIO, ENOMEN or EINVAL

I'm not sure about about EFAULT, EBADF and EGAIN.


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

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

Reply via email to