Skip to content

Commit

Permalink
Added x-minio-replication-object-size to allowed headers
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 be set as
`X-Minio-Internal-actual-size`

Signed-off-by: Shubhendu Ram Tripathi <[email protected]>
  • Loading branch information
shtripat committed Mar 5, 2024
1 parent e2c82fe commit 64a824f
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-object-size": true,
// Add more supported headers here.
// Must be lower case.
}
Expand Down

0 comments on commit 64a824f

Please sign in to comment.