mirror of
https://github.com/rclone/rclone
synced 2025-02-24 18:35:51 +01: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.