]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: beast frontend checks for local_endpoint() errors
authorCasey Bodley <cbodley@redhat.com>
Thu, 6 Oct 2022 17:22:35 +0000 (13:22 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 6 Oct 2022 17:24:04 +0000 (13:24 -0400)
commit60af907c91210f60d0009318b8ca2ccd87941bb9
tree5813527cf6e7f23341adc31881df471ba625ead9
parent06bb82c10cd35e0933f6687e03cc8b348f4885af
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>
src/rgw/rgw_asio_frontend.cc