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





--- Comment #6 from jrobinson <[EMAIL PROTECTED]>  2008-06-27 09:38:30 PST ---
Thanks for the response, Jeff.

I'm wondering if apache is doing the right thing with the sendfile() return
value. The sendfile() docs say: 

"...If the transfer was successful, _the number of bytes written to out_fd is
returned_.  On error, -1 is returned, and errno is set appropriately."

Perhaps in this case sendfile isn't returning an error, but is returning a
short byte count, and apache doesn't notice? (Not sure if that's what it's
supposed to do, but...) 

My reading of srclib/apr/network_io/unix/sendrecv.c suggests that. 

I will test what sendfile() is actually returning when serving files from the
SMB server in the case without "EnableSendfile Off" if you want-- let me know.


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