mirror of
https://github.com/pgsty/minio.git
synced 2026-09-26 04:45:59 +03:00
Merge pull request #126 from pgsty/fix/issue-118-no-compressed-ssec
fix: exclude SSE-C objects from compression
This commit is contained in:
@@ -364,7 +364,10 @@ func testAPICopyObjectServerSideChecksumEncryption(obj ObjectLayer, instanceType
|
||||
compressed bool
|
||||
}{
|
||||
{name: "encrypted-only", extension: ".bin"},
|
||||
{name: "compressed-encrypted", extension: ".txt", compressed: true},
|
||||
// SSE-C is excluded from compression whatever allow_encryption says,
|
||||
// so a compressible destination extension changes nothing here. The
|
||||
// SSE-S3 sibling above keeps the compressed-encrypted coverage.
|
||||
{name: "compressible-extension", extension: ".txt"},
|
||||
} {
|
||||
t.Run(variant.name, func(t *testing.T) {
|
||||
destination := "copy-checksum/sse-c-" + variant.name + variant.extension
|
||||
|
||||
Reference in New Issue
Block a user