You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now for the first chunk downloader's uses setTotalBytes to determine if it should sleep while waiting for the first chunk's response before requesting the subsequent chunks concurrently. If the total bytes are not updated by the setTotalBytes the downloader.download() the first chunk will never be seen as completed. In this case the download manager should fallback to disabling its concurrency and download the object one chunk at a time since it doesn't know the total size to divide the object into.
The text was updated successfully, but these errors were encountered:
Fixes a bug when the S3 object being download is not chunked and the
full contents are provided in the response. Content-Range header will
not be provided, and S3 Download manager needs to fallback to
Content-Length instead to get the total length of the object.
Fix # 417
Right now for the first chunk
downloader
's usessetTotalBytes
to determine if it should sleep while waiting for the first chunk's response before requesting the subsequent chunks concurrently. If the total bytes are not updated by thesetTotalBytes
thedownloader
.download()
the first chunk will never be seen as completed. In this case the download manager should fallback to disabling its concurrency and download the object one chunk at a time since it doesn't know the total size to divide the object into.The text was updated successfully, but these errors were encountered: