mirror of
https://github.com/rclone/rclone.git
synced 2025-02-21 18:45:25 +08:00

Before this fix, the chunksize calculator was using the previous size of the object, not the new size of the object to calculate the chunk sizes. This meant that uploading a replacement object which needed a new chunk size would fail, using too many parts. This fix fixes the calculator to take the size explicitly.