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

webdav: retry on 423 Locked errors #3263

Nick Craig-Wood3087c5d55904
diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.go
index de1e9f3b3..bc00bddea 100644
--- a/backend/webdav/webdav.go
+++ b/backend/webdav/webdav.go
@@ -146,6 +146,7 @@ func (f *Fs) Features() *fs.Features {
// retryErrorCodes is a slice of error codes that we will retry
var retryErrorCodes = []int{
+ 423, // Locked
429, // Too Many Requests.
500, // Internal Server Error
502, // Bad Gateway