rclone/backend
Nick Craig-Wood 3dfa63b85c onedrive: fix occasional 416 errors on multipart uploads
Before this change, when uploading multipart files, onedrive would
sometimes return an unexpected 416 error and rclone would abort the
transfer.

This is usually after a 500 error which caused rclone to do a retry.

This change checks the upload position on a 416 error and works how
much of the current chunk to skip, then retries (or skips) the current
chunk as appropriate.

If the position is before the current chunk or after the current chunk
then rclone will abort the transfer.

See: https://forum.rclone.org/t/fragment-overlap-error-with-encrypted-onedrive/14001

Fixes #3131
2020-02-01 21:15:07 +00:00
..
alias build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all The memory backend 2020-01-18 10:41:08 +00:00
amazonclouddrive backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
azureblob backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
b2 backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
box backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
cache cache: fix fatal error: concurrent map writes - fixes #2378 2020-01-18 11:27:00 +00:00
chunker chunker: reduce length of temporary suffix 2019-12-09 16:56:32 +00:00
crypt crypt: correctly handle trailing dot 2020-01-22 01:40:04 +01:00
drive drive: hide dangerous config from the configurator 2020-01-31 10:09:33 +00:00
dropbox dropbox: treat insufficient_space errors as non retriable errors 2020-01-18 11:10:18 +00:00
fichier backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
ftp build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
googlecloudstorage backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
googlephotos operations: make NewOverrideObjectInfo public and factor uses 2020-01-18 11:41:33 +00:00
http http: fix race introduced in 7982aaf151 2019-09-14 08:48:13 +01:00
hubic Add context to all http.NewRequest #3257 2019-09-09 23:27:07 +01:00
jottacloud backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
koofr backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
local backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
mailru backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
mega backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
memory The memory backend 2020-01-18 10:41:08 +00:00
onedrive onedrive: fix occasional 416 errors on multipart uploads 2020-02-01 21:15:07 +00:00
opendrive opendrive: implement --opendrive-chunk-size #3707 2020-01-18 11:56:01 +00:00
pcloud backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
premiumizeme backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
putio backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
qingstor backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
s3 s3: Add StackPath Object Storage Support 2020-01-31 16:05:44 +00:00
sftp build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
sharefile backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
sugarsync sugarsync: new backend - fixes #622 2020-01-17 17:39:34 +00:00
swift swift: Update OVH API endpoint - Fixes #3890 2020-01-24 17:43:00 +00:00
union docs: make the config walkthroughs consistent for each backend 2019-08-26 10:47:17 +01:00
webdav webdav: add Referer header to fix problems with WAFs - fixes #3868 2020-01-23 15:56:17 +00:00
yandex backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00