1
mirror of https://github.com/rclone/rclone synced 2024-12-29 22:26:24 +01:00
rclone/backend/googlecloudstorage
Nick Craig-Wood 4ac5cb07ca gcs: fix 400 Bad request errors when using multi-thread copy
Before this change, on every Open, we added the userProject parameter
to the URL in the object.

This meant it grew and grew until Google returned Error 400 (Bad
Request) errors when the URL became too long.

This fixes the problem by adding the userProject parameter once.

See: https://forum.rclone.org/t/endlessly-repeating-userproject-parameter-in-get-to-google-storage-context-canceled-got-http-response-code-400/42652
2023-11-20 18:07:05 +00:00
..
googlecloudstorage_test.go gcs: empty directory markers - #3453 2023-04-28 14:31:05 +01:00
googlecloudstorage.go gcs: fix 400 Bad request errors when using multi-thread copy 2023-11-20 18:07:05 +00:00