]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: move write exception handling to seastar::repeat()
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 26 Aug 2019 04:43:34 +0000 (12:43 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 28 Aug 2019 02:16:39 +0000 (10:16 +0800)
commit1f842bd06d0d60b339d544c815f019b5cc6bc614
tree2285f5d7e28bb109d529e6999ad84d0d9349197e
parent7b43b98a4865bdbc2d930ce66b0c17c1a7686ae4
crimson/net: move write exception handling to seastar::repeat()

* prevent exception leak in do_write_dispatch_sweep()
* no exception handling logic inside each repeat()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/Protocol.cc
src/crimson/net/Protocol.h