rclone/backend
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
..
alias config: make config file system pluggable 2021-03-11 17:29:26 +00:00
all HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
amazonclouddrive Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
azureblob azureblob: add container public access level support. Fixes #5045 2021-03-15 17:18:47 +00:00
b2 b2: fix html files downloaded via cloudflare 2021-03-24 17:06:59 +00:00
box box: fix transfers getting stuck on token expiry after API change 2021-03-24 09:45:17 +00:00
cache config: make config file system pluggable 2021-03-11 17:29:26 +00:00
chunker chunker: refactor to use fspath.SplitFs instead of fspath.Parse #4996 2021-03-15 19:22:07 +00:00
compress compress: check type assertion in SetTier - fixes #4941 2021-01-20 22:59:14 +00:00
crypt crypt: log hash ok on upload 2021-03-23 18:36:51 +01:00
drive drive: remove duplicated Context(ctx) calls 2021-03-17 16:46:58 +00:00
dropbox dropbox: raise priority of rate limited message to INFO to make it more noticeable 2021-03-22 09:04:25 +00:00
fichier Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
filefabric Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
ftp ftp: retry connections and logins on 421 errors #3984 2021-03-16 16:17:22 +00:00
googlecloudstorage Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
googlephotos Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
hdfs hdfs: fix permissions for when directory is created 2021-03-12 09:15:14 +00:00
http config: make config file system pluggable 2021-03-11 17:29:26 +00:00
hubic swift: update github.com/ncw/swift to v2.0.0 2021-02-03 20:23:37 +00:00
jottacloud Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
koofr fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
local local: don't ignore preallocate disk full errors 2021-03-15 19:22:07 +00:00
mailru backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00
mega backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00
memory azureblob,memory,pcloud: fix setting of mime types 2020-11-27 14:40:05 +00:00
onedrive backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00
opendrive Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
pcloud lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00
premiumizeme Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
putio Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
qingstor qingstor: fix rclone cleanup 2021-01-21 17:35:31 +00:00
s3 s3: fix --s3-profile which wasn't working - fixes #4757 2021-03-16 16:25:07 +00:00
seafile lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00
sftp sftp: fix SetModTime stat failed: object not found with --sftp-set-modtime=false 2021-03-18 16:31:51 +00:00
sharefile Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
sugarsync Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
swift swift: implement copying large objects 2021-03-24 08:56:39 +00:00
tardigrade build: remove go1.13 build constraints 2021-02-03 17:46:08 +00:00
union union: fix initialisation broken in refactor - fixes #5139 2021-03-24 09:47:38 +00:00
webdav Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
yandex Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
zoho lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00