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

fserror: make http2 "stream error:" a retriable error

Nick Craig-Woodf9f9d5029b2f
diff --git a/fs/fserrors/error.go b/fs/fserrors/error.go
index aef83fe35..92e328101 100644
--- a/fs/fserrors/error.go
+++ b/fs/fserrors/error.go
@@ -267,6 +267,7 @@ 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
}
// Errors which indicate networking errors which should be retried