]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/sse-s3: fix bucket encryption of multipart upload 49409/head
authorTongliang Deng <dengtongliang@gmail.com>
Tue, 13 Dec 2022 06:42:34 +0000 (06:42 +0000)
committerdengtongliang <dengtongliang@sensetime.com>
Thu, 30 Mar 2023 02:13:15 +0000 (10:13 +0800)
commit6d9e4f7924c6149d23919ef82bc09406e1290164
tree7c513e0cb27d5d6be53d1bffd70714668248c002
parent1aa2887c916603868a9bb1967dfc56ca88cbdfdc
rgw/sse-s3: fix bucket encryption of multipart upload

Multipart upload missing encryption when we have bucket encryption
policy. Fix it by fetching bucket encryption policy and resolving
defaults at multipart init op.

Fixes: https://tracker.ceph.com/issues/59218
Signed-off-by: Tongliang Deng <dengtongliang@gmail.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc