mirror of
https://github.com/rclone/rclone.git
synced 2025-02-21 09:19:25 +08:00

In this commit, released in 1.56.0 we started reading the size of the object from the Content-Length header as returned by the GET request to read the object. 4401d180aabe5047 s3: add --s3-no-head-object However some object storage systems, notably Ceph, don't return a Content-Length header. The new code correctly calls the setMetaData function with a nil pointer to the ContentLength. However due to this commit from 2014, released in v1.18, the setMetaData function was not ignoring the size as it should have done. 0da6f242217aae7a s3: use official github.com/aws/aws-sdk-go including multipart upload #101 This commit correctly ignores the content length if not set. Fixes #5732