mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
fserrors: add "server closed idle connection" to retriable errors
This seems to be related to this go issue: https://github.com/golang/go/issues/19943 See: https://forum.rclone.org/t/copy-from-dropbox-to-google-drive-yields-failed-to-copy-failed-to-open-source-object-server-closed-idle-connection-error/7460
This commit is contained in:
parent
c0f600764b
commit
4ad08794c9
|
@ -233,6 +233,7 @@ var retriableErrorStrings = []string{
|
||||||
"unexpected EOF reading trailer", // net/http/transfer.go
|
"unexpected EOF reading trailer", // net/http/transfer.go
|
||||||
"transport connection broken", // net/http/transport.go
|
"transport connection broken", // net/http/transport.go
|
||||||
"http: ContentLength=", // net/http/transfer.go
|
"http: ContentLength=", // net/http/transfer.go
|
||||||
|
"server closed idle connection", // net/http/transport.go
|
||||||
}
|
}
|
||||||
|
|
||||||
// Errors which indicate networking errors which should be retried
|
// Errors which indicate networking errors which should be retried
|
||||||
|
|
Loading…
Reference in New Issue
Block a user