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:
Nick Craig-Wood 2018-11-05 14:51:05 +00:00
parent c0f600764b
commit 4ad08794c9

View File

@ -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