httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=45292





--- Comment #6 from jrobinson <jrobinson852@yahoo.com>  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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message