1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00
rclone/backend/pcloud
Nick Craig-Wood fc57648b75 lib/rest: fix multipart uploads stopping on context cancel
Before this change when the context was cancelled (due to
--max-duration for example) this could deadlock when uploading
multipart uploads.

This change fixes the problem by introducing another go routine to
monitor the context and close the pipe with an error when the context
errors.
2021-03-29 19:09:47 +01:00
..
api pcloud: only use SHA1 hashes in EU region 2020-11-25 20:46:38 +00:00
pcloud_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
pcloud.go lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00