"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
azureblob: work around SDK bug which causes errors for chunk-sized files
Nick Craig-Wood6a773289e7b8
diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.goindex e3baefa30..021040de5 100644--- a/backend/azureblob/azureblob.go+++ b/backend/azureblob/azureblob.go@@ -1269,7 +1269,7 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio}putBlobOptions := azblob.UploadStreamToBlockBlobOptions{- BufferSize: int(o.fs.opt.ChunkSize),+ BufferSize: int(o.fs.opt.ChunkSize) + 1, // +1 Needed until https://github.com/Azure/azure-storage-blob-go/pull/75 is mergedMaxBuffers: 4,Metadata: o.meta,BlobHTTPHeaders: httpHeaders,