mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 15:09:54 +08:00
5fa68e9ca5
Streaming uploads are used by rclone rcat and rclone mount --vfs-cache-mode off. After the multipart chunker refactor the multipart chunked streaming upload was accidentally mixing the first and the second parts up which was causing corrupted uploads. This was caused by a simple off by one error in the refactoring where we went from 1 based part number counting to 0 based part number counting. Fixing this revealed that the metadata wasn't being re-read for the copied object either. This fixes both of those issues and adds an integration tests so it won't happen again. Fixes #7367 |
||
---|---|---|
.. | ||
api | ||
b2_internal_test.go | ||
b2_test.go | ||
b2.go | ||
upload.go |