1
mirror of https://github.com/rclone/rclone synced 2024-11-13 12:09:47 +01:00
rclone/b2
Nick Craig-Wood 0914ec316c b2: fix multipart upload retries #1733
Prior to this fix we were uploading 0 length bodies if a retry was
needed on a multipart upload chunk.  This gave this error `http:
ContentLength=268435496 with Body length 0`.

Fix by remaking the hash appending reader in the Call loop.  This is
inefficient in the face of retries, but these are uncommon.
2017-12-13 10:11:20 +00:00
..
api b2: use new prefix and delimiter parameters in directory listings 2016-12-14 17:37:26 +00:00
b2_internal_test.go b2: use new prefix and delimiter parameters in directory listings 2016-12-14 17:37:26 +00:00
b2_test.go fstests: only test uploadswith indeterminate size on remotes that support it 2017-08-22 07:19:43 +02:00
b2.go b2: send correct fileName when using --hard-delete - fixes #1905 2017-12-12 07:48:06 +00:00
upload.go b2: fix multipart upload retries #1733 2017-12-13 10:11:20 +00:00