mirror of
https://github.com/rclone/rclone.git
synced 2026-10-10 06:55:45 -04:00
When an upload failed with a 500 error the upload was retried with a new upload link but the same input stream. The stream had already been consumed by the first attempt so the retry uploaded an empty file. This fixes it by returning a RetryError instead so the caller retries the upload with a fresh stream, which will fetch a new upload link.