"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
fs: retry "network is unreachable" and "network is down" errors
nielash94e319d2fa87
diff --git a/fs/fserrors/error_syscall_test.go b/fs/fserrors/error_syscall_test.goindex 974b89411..e752307d5 100644--- a/fs/fserrors/error_syscall_test.go+++ b/fs/fserrors/error_syscall_test.go@@ -49,6 +49,8 @@ func TestWithSyscallShouldRetry(t *testing.T) {want bool}{{makeNetErr(syscall.EAGAIN), true},+ {makeNetErr(syscall.ENETDOWN), true},+ {makeNetErr(syscall.ENETUNREACH), true},{makeNetErr(syscall.Errno(123123123)), false},{wrap(&url.Error{diff --git a/fs/fserrors/retriable_errors.go b/fs/fserrors/retriable_errors.goindex bd24f0a8e..c8b19c6ef 100644--- a/fs/fserrors/retriable_errors.go+++ b/fs/fserrors/retriable_errors.go@@ -13,6 +13,8 @@ func init() {syscall.ECONNREFUSED,syscall.EHOSTDOWN,syscall.EHOSTUNREACH,+ syscall.ENETDOWN,+ syscall.ENETUNREACH,syscall.ECONNABORTED,syscall.EAGAIN,syscall.EWOULDBLOCK,