]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: fix internal server error for presigned urls 59983/head
authorTobias Urdin <tobias.urdin@binero.com>
Wed, 25 Sep 2024 16:33:28 +0000 (18:33 +0200)
committerTobias Urdin <tobias.urdin@binero.com>
Wed, 25 Sep 2024 16:38:04 +0000 (18:38 +0200)
commitc01b5b179e2323bb4459da8e78d26cc9a1bbaff2
treea7ee4baeb2b0d6e5e0c5e7d1e29b320032c20d96
parent327d209151bd40cbce8ab0444d59829d75f66b9b
rgw/auth: fix internal server error for presigned urls

We have special error handling for these cases but we
don't check the negative value of the error so it
instead gets caught as an error not defined with a
response and throws a http 500.

This was implement by [1] and the same way done
with [2].

[1] https://github.com/ceph/ceph/pull/55371
[2] https://github.com/ceph/ceph/pull/56044

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
src/rgw/rgw_auth.cc