]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: beast frontend checks for local_endpoint() errors 54166/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 6 Oct 2022 17:22:35 +0000 (13:22 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 24 Oct 2023 14:25:33 +0000 (10:25 -0400)
commit662fdf4c04752687d0e59e5d27739ac3c0af63bf
tree3e9218e7f4bc264a876297a308a0e93e48604d02
parent51b3f9b8f44830a2e90756f801137358d5ce46a9
rgw: beast frontend checks for local_endpoint() errors

socket.local_endpoint() throws on error. use the error_code overload
instead and return on failure

Fixes: https://tracker.ceph.com/issues/57784
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 60af907c91210f60d0009318b8ca2ccd87941bb9)
src/rgw/rgw_asio_frontend.cc