Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.23.3, 2.0.0-alpha
-
None
-
Incompatible change, Reviewed
Description
Hftp transfers >2GB hang after the transfer is complete. The problem appears to be caused by java internally using an int for the content length. When it overflows 2GB, it won't check the bounds of the reads on the input stream. The client continues reading after all data is received, and the client blocks until the server times out the connection – many minutes later. In conjunction with hftp timeouts, all transfers >2G fail with a read timeout.