mirror of
https://github.com/rclone/rclone.git
synced 2026-10-25 04:48:32 -04:00
accounting: reset bytes read during copy retry - fixes #4178
During a copy/sync command, if an operation fails due to a network issue and is retried, the underlying io.Reader is re-initialised, but the stats for bytes already read are not reset, leading to incorrect stats. THis was fixed by resetting the bytes read when an Account is re-initialized.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f