]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth/cephx/CephxServiceHandler: handle decode errors
authorSage Weil <sage@redhat.com>
Tue, 22 Oct 2019 12:37:32 +0000 (07:37 -0500)
committerSage Weil <sage@redhat.com>
Tue, 22 Oct 2019 12:43:24 +0000 (07:43 -0500)
commit4e8d745c594db18b4119ddf83047014917f437da
tree2e4011854339ea032f923e7bf7e8110c815b57b2
parenta398f985d43bbd0d5c9bd066983c1dbb60270934
auth/cephx/CephxServiceHandler: handle decode errors

Decode errors should trigger EPERM, not throw exceptions that trigger
timeouts/retries in the messenger.

Fixes: https://tracker.ceph.com/issues/42369
Signed-off-by: Sage Weil <sage@redhat.com>
src/auth/cephx/CephxServiceHandler.cc