mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
fserrors: Make "tls: use of closed connection" a retriable error
This has happened when uploading very large files to B2. It is probably a bug in the go runtime but we'll attempt to work-around it here. See: https://forum.rclone.org/t/large-file-upload-to-backblaze-failed/16128/5
This commit is contained in:
parent
d342f9f942
commit
044a3b3920
@ -372,7 +372,8 @@ var retriableErrorStrings = []string{
|
||||
"http: ContentLength=", // net/http/transfer.go
|
||||
"server closed idle connection", // net/http/transport.go
|
||||
"bad record MAC", // crypto/tls/alert.go
|
||||
"stream error:", // src/net/http/h2_bundle.go
|
||||
"stream error:", // net/http/h2_bundle.go
|
||||
"tls: use of closed connection", // crypto/tls/conn.go
|
||||
}
|
||||
|
||||
// Errors which indicate networking errors which should be retried
|
||||
|
Loading…
Reference in New Issue
Block a user