Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fserrors: add "server closed idle connection" to retriable errors

Nick Craig-Wood4ad08794c9d7
diff --git a/fs/fserrors/error.go b/fs/fserrors/error.go
index 4357f4702..a2ede7416 100644
--- a/fs/fserrors/error.go
+++ b/fs/fserrors/error.go
@@ -233,6 +233,7 @@ var retriableErrorStrings = []string{
"unexpected EOF reading trailer", // net/http/transfer.go
"transport connection broken", // net/http/transport.go
"http: ContentLength=", // net/http/transfer.go
+ "server closed idle connection", // net/http/transport.go
}
// Errors which indicate networking errors which should be retried