rclone/lib
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
..
atexit lib/atexit: unregister interrupt handler once it has fired so users can interrupt again 2021-03-23 08:03:00 +00:00
bucket doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
buildinfo version: show build tags and type of executable 2021-03-22 22:55:24 +03:00
cache lib/cache: add Delete and DeletePrefix methods #4811 2021-03-15 19:22:07 +00:00
dircache dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
encoder encoder/filename: Wrap scsu package 2021-02-12 11:39:39 +00:00
env ftp,sftp: fix docs for usernames 2020-09-27 11:44:05 +01:00
errors build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
file lib/file: retry preallocate on EINTR 2021-03-15 19:22:07 +00:00
israce fs/asyncreader: skip some tests to work around race detector bug 2018-08-20 12:34:29 +01:00
jwtutil jwtutil: Fix error handling 2020-04-23 17:52:14 +01:00
mmap build: make rclone build with wasm 2020-08-10 17:32:21 +01:00
oauthutil config: make config file reads reload the config file if needed #4996 2021-03-14 16:03:35 +00:00
pacer azureblob: add support for managed identities 2020-12-28 13:23:35 +00:00
plugin build: disable lib/plugin under gccgo to make rclone build with gccgo 2020-07-28 09:56:31 +01:00
pool test: Don't run unreliable tests on CI #4171 2020-06-15 21:34:37 +01:00
random random: seed math/rand in one place with crypto strong seed #4783 2020-11-18 17:48:44 +00:00
ranges Spelling fixes 2020-10-14 15:21:31 +01:00
readers lib/readers: add NewContextReader to error on context errors 2021-03-29 19:09:47 +01:00
rest lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00
structs docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
terminal fs: add support for flag --no-console on windows to hide the console window 2021-01-27 18:44:35 +00:00