mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
3dfa63b85c
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 |
||
---|---|---|
.. | ||
api | ||
quickxorhash | ||
onedrive_test.go | ||
onedrive.go |