"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
yandex: fix 400 Bad Request on transfer failure
Nick Craig-Wood055206c4eef4
diff --git a/backend/yandex/yandex.go b/backend/yandex/yandex.goindex a643a7771..806c5f915 100644--- a/backend/yandex/yandex.go+++ b/backend/yandex/yandex.go@@ -1100,7 +1100,7 @@ func (o *Object) upload(ctx context.Context, in io.Reader, overwrite bool, mimeTNoResponse: true,}- err = o.fs.pacer.Call(func() (bool, error) {+ err = o.fs.pacer.CallNoRetry(func() (bool, error) {resp, err = o.fs.srv.Call(ctx, &opts)return shouldRetry(ctx, resp, err)})