mirror of
https://github.com/rclone/rclone
synced 2024-11-25 02:47:14 +01:00
fc57648b75
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. |
||
---|---|---|
.. | ||
api | ||
pcloud_test.go | ||
pcloud.go |