"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
s3: fix excess memory usage when using versions
Nick Craig-Wood43bf177ff71d
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 286ebb283..c943dc800 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -3093,7 +3093,7 @@ func (f *Fs) newObjectWithInfo(ctx context.Context, remote string, info *s3.Objeo.setMD5FromEtag(aws.StringValue(info.ETag))o.bytes = aws.Int64Value(info.Size)o.storageClass = stringClonePointer(info.StorageClass)- o.versionID = versionID+ o.versionID = stringClonePointer(versionID)} else if !o.fs.opt.NoHeadObject {err := o.readMetaData(ctx) // reads info and meta, returning an errorif err != nil {