rclone/backend
Nick Craig-Wood cf2c2792e6 s3: fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph
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.

4401d180aa 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.

0da6f24221  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
2021-10-30 12:01:09 +01:00
..
alias docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
all hasher: add hasher backend #5587 2021-10-20 19:11:54 +03:00
amazonclouddrive build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
azureblob docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
b2 docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
box docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
cache docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
chunker docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
compress docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
crypt docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
drive docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
dropbox docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
fichier docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
filefabric filefabric: fix directory move after API change #5734 2021-10-22 12:58:00 +01:00
ftp ftp: add support for precise time #5655 2021-10-21 14:50:53 +03:00
googlecloudstorage docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
googlephotos docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
hasher hasher: add hasher backend #5587 2021-10-20 19:11:54 +03:00
hdfs docs: don't show fictional example values for options as multiple choice items 2021-10-20 22:56:19 +02:00
http docs: don't show fictional example values for options as multiple choice items 2021-10-20 22:56:19 +02:00
hubic fs: change Config callback into state based callback #3455 2021-05-14 14:07:44 +01:00
jottacloud docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
koofr Create direct share link for "koofr" backend 2021-10-23 15:00:33 +03:00
local docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
mailru docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
mega docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
memory azureblob,memory,pcloud: fix setting of mime types 2020-11-27 14:40:05 +00:00
onedrive docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
opendrive docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
pcloud pcloud: try harder to delete a failed upload 2021-09-17 10:43:45 +01:00
premiumizeme fs: change Config callback into state based callback #3455 2021-05-14 14:07:44 +01:00
putio backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00
qingstor docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
s3 s3: fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph 2021-10-30 12:01:09 +01:00
seafile docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
sftp docs: don't show fictional example values for options as multiple choice items 2021-10-20 22:56:19 +02:00
sharefile docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
sia docs: automatically remove ending punctuation from first line of backend option help string when used for flag usage 2021-10-20 22:56:19 +02:00
sugarsync docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
swift docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
tardigrade docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
union docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
uptobox docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
webdav docs: don't show fictional example values for options as multiple choice items 2021-10-20 22:56:19 +02:00
yandex backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00
zoho backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00