]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: recognize checksum from x-amz-checksum-{type} alone
authorMatt Benjamin <mbenjamin@redhat.com>
Sat, 17 May 2025 19:52:20 +0000 (15:52 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 12 Jun 2025 17:35:27 +0000 (13:35 -0400)
commit572289a2c7fb1cceebef7fefdec032ba95418cf4
tree40594ca2d3a723c3d74c1e16e9d8c99a8933b10f
parentb90d65ac4c56714e73cc40864b62ad30b3e1288b
rgw: recognize checksum from x-amz-checksum-{type} alone

Some SDKs may send x-amz-checksum-algorithm or
x-amz-sdk-checksum-algorithm regardless as well, but those are
only required if the checksum header is in the trailer section.

Fixes: https://tracker.ceph.com/issues/71350
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_cksum.h
src/rgw/rgw_cksum_pipe.h
src/rgw/rgw_rest_s3.cc