httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45292] Static files served from "Snap" SMB server are truncated to 64KB
Date Fri, 27 Jun 2008 16:38:31 GMT

--- Comment #6 from jrobinson <>  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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message