1
mirror of https://github.com/rclone/rclone synced 2024-12-23 14:23:44 +01:00
rclone/fs/operations
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
..
check_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
check.go Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
dedupe_test.go dedupe: add --by-hash to dedupe on hash not file name - fixes #1674 2020-12-02 16:52:12 +00:00
dedupe.go cmd/dedupe: make largest directory primary to minimize data moved (#3648) 2021-03-11 20:40:29 +03:00
listdirsorted_test.go filter: deglobalise to put filter config into the context #4685 2020-11-27 17:28:42 +00:00
lsjson.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
multithread_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
multithread.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
operations_internal_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
operations_test.go fs: make sync and operations tests use context instead of global variables 2021-03-15 19:22:07 +00:00
operations.go copyurl: add option to print resulting auto-filename (#5095) 2021-03-18 10:04:59 +01:00
rc_test.go lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00
rc.go fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
reopen_test.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
reopen.go fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options 2020-04-23 11:07:21 +01:00