forked from TrueCloudLab/rclone
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
1 changed files with 2 additions and 1 deletions
|
@ -372,7 +372,8 @@ var retriableErrorStrings = []string{
|
||||||
"http: ContentLength=", // net/http/transfer.go
|
"http: ContentLength=", // net/http/transfer.go
|
||||||
"server closed idle connection", // net/http/transport.go
|
"server closed idle connection", // net/http/transport.go
|
||||||
"bad record MAC", // crypto/tls/alert.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
|
// Errors which indicate networking errors which should be retried
|
||||||
|
|
Loading…
Reference in a new issue