]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: aws-chunked need not supply any content-length
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 18 May 2025 01:02:34 +0000 (21:02 -0400)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
commit39f97d41b1b790ea48fb7fa2246daa9e46390ee5
treefa4602ba59f2f6b85c42ec434a1113405b9c42c0
parenta497fd488b52fbaec815560d127ad14806563666
rgw: aws-chunked need not supply any content-length

The updated logic for aws chunked handling (2024) appears sufficient
to handle the cases produced by aws-sdk-go-v2.

Note that https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html
states that "For all requests, you must include the
x-amz-decoded-content-length header, specifying the size of the object in
bytes." (accessed 5/17/2025) (but now we do not enforce it).

Reported (with reproducer!) by: Fred Heinecke.

Fixes: https://tracker.ceph.com/issues/71183
Resolves: rhbz#2392604

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 0624dbbc3bd10f816262d5e096fa7b147231b2fb)
src/rgw/rgw_auth_s3.cc
src/rgw/rgw_op.cc