Skip to content

Commit

Permalink
Added x-minio-replication-actual-object-size to allowed headers (#1946
Browse files Browse the repository at this point in the history
)

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 <shubhendu@minio.io>
  • Loading branch information
shtripat committed Mar 10, 2024
1 parent f823450 commit 0dacc4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down

0 comments on commit 0dacc4a

Please sign in to comment.