]> git.apps.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)
committerNathan Cutler <ncutler@suse.com>
Wed, 23 Oct 2019 20:42:34 +0000 (22:42 +0200)
commit312e44020ae66deb98c7d10c1ce867d13f241c29
tree68a9382c184dbcf9064eb965d6074fad40f15c28
parent05479e8a5a310bd7b03e35cd92d508788a4f5aff
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>
(cherry picked from commit 4e8d745c594db18b4119ddf83047014917f437da)
src/auth/cephx/CephxServiceHandler.cc