You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/04/06 18:15:02 UTC
DO NOT REPLY [Bug 34332] New: -
apr_socket_send() gives up too easily
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=34332>.
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=34332
Summary: apr_socket_send() gives up too easily
Product: Apache httpd-2.0
Version: 2.0.53
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: albegley@apple.com
The apr_socket_send() function in the UNIX version of sendrecv.c does a write() loop on the socket. If the
write fails with EAGAIN, it does an apr_wait_for_io_or_timeout() and tries the write loop once more. If that
write also fails with EAGAIN, it returns to the caller, instead of continuing to try.
The result is that an HTTP GET may abort prematurely, and only return the first 64K of a file.
--
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