From 0dacc4ac6ca6c6d7f7eccf9ad749bd743efec97c Mon Sep 17 00:00:00 2001 From: Shubhendu Date: Mon, 11 Mar 2024 02:41:19 +0530 Subject: [PATCH] Added `x-minio-replication-actual-object-size` to allowed headers (#1946) Need to send actual object size while replicating a multipart object as parts would be replicated as is with their encrypted content and content length. Later, at target, while creating xl.meta for the completed object, we need the actual object size to be set as `X-Minio-Internal-actual-size` Signed-off-by: Shubhendu Ram Tripathi --- utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.go b/utils.go index 46123ea77..d68f14844 100644 --- a/utils.go +++ b/utils.go @@ -517,6 +517,7 @@ var supportedReplicationEncryptionHeaders = map[string]bool{ "x-minio-replication-server-side-encryption-seal-algorithm": true, "x-minio-replication-server-side-encryption-iv": true, "x-minio-replication-encrypted-multipart": true, + "x-minio-replication-actual-object-size": true, // Add more supported headers here. // Must be lower case. }