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 34708] - Apache 2.0 seems not to work properly on NFS shared resources
Date Wed, 01 Jun 2005 14:15:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34708>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34708





------- Additional Comments From trawick@apache.org  2005-06-01 16:15 -------
I don't have any patches and/or tested code.  I was hoping you'd chime in ;)

I concur on checking for rv != APR_EOF.

For core_output_filter, looks like there are two paths, based on what we
originally found out for the file length (before truncation):

a) big enough for sendfile

not improved by file-bucket-read fix; I suspect sendfile caller will loop since
we won't make any progress when calling sendfile (0 bytes written)
incidentally, I've seen a few loopers with sendfile enabled on HP-UX; supposedly
that is NOT due to truncated file but instead something happening in network
layer; catching this no-progress-made scenario would exit the loop on the HP-UX
scenario as well

b) not big enough for sendfile

With the file-bucket-read fix we won't be misled by e->length since we do the
bucket read in the path you mentioned to find the length.  rv will be APR_EOF
(not abnormal when reading a file) and length will be 0 (not abnormal when
reading a file).  How do we know that something has gone wrong?  Compare the
declared length of the file (e->length) with the length returned by
file-bucket-read?


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message