mirror of
https://github.com/rclone/rclone.git
synced 2024-12-01 21:14:08 +08:00
5dd51e6149
Before this fix, rclone would deadlock when uploading two files at once, if one errored. This caused the other file to block in the multi reader and never complete. This fix drains the input buffer on error which allows the other upload to complete. See: https://forum.rclone.org/t/union-with-create-policy-all-copy-stuck-when-first-union-fails/29601 |
||
---|---|---|
.. | ||
policy | ||
upstream | ||
entry.go | ||
errors.go | ||
union_internal_test.go | ||
union_test.go | ||
union.go |