tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45071] Sendfile on APR connector can truncate downloads.
Date Thu, 29 May 2008 17:41:49 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45071


Alex Barclay <alex@planet-barclay.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #5 from Alex Barclay <alex@planet-barclay.com>  2008-05-29 10:41:49 PST
---
We didn't quite fix this, instead we uncovered an underlying issue.

In do_remove the list of descriptors is shuffled down as a descriptor is
removed. Unfortunately the socket_ttl array was forgotten. This manifests
itself as a truncated downloads on a seemingly random basis. What's actually
happening is as a descriptor is removed the next higher descriptor inherits its
TTL which could be close to expiry.

It would probably have been better to hold both the ttl and socket descriptor
in a structure in a single array but this fix is only one line.


-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message