DisablePayloadSigning = true and DisableDefaultChecksumValidation = false to greater compatibility with S3 providers

This commit is contained in:
KrzysztofDusko
2024-05-19 12:15:57 +02:00
committed by Caelan Sayler
parent b7c0058de3
commit 558d6b35a9

View File

@@ -154,6 +154,10 @@ public class S3Repository : ObjectRepository<S3DownloadOptions, S3UploadOptions,
BucketName = bucket,
FilePath = f.FullName,
Key = key,
//due to compatibility reasons CloudFlare R2, Oracle Object storage (maybe some other providers)
// doesn't support Streaming SigV4 which is used in chunked uploading
DisablePayloadSigning = true,
DisableDefaultChecksumValidation = false,
};
if (noCache) {