tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45071] Sendfile on APR connector can truncate downloads.
Date Thu, 29 May 2008 17:41:49 GMT

Alex Barclay <> changed:

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

--- Comment #5 from Alex Barclay <>  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:
------- 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