]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: avoid using finally
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 30 Nov 2020 05:28:28 +0000 (13:28 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 1 Dec 2020 01:34:42 +0000 (09:34 +0800)
commit4698d3f001f4c2842d31ab98e393bd38aec7181f
treed76e7ac6e1152eab804deb0ed1b2991e9a853d8d
parent44585adc78bded751b8b50d6304068a8c5186fa1
crimson/net: avoid using finally

Messenger will only throw unexpected exceptions when there is a bug. In
that case, we should not do any further operations which may result in
segmentation fault and hide the original exception.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/Protocol.cc
src/test/crimson/test_messenger.cc
src/test/crimson/test_socket.cc
src/tools/crimson/perf_crimson_msgr.cc