]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: support multiple call to conn.close()
authorYingxin <yingxin.cheng@intel.com>
Thu, 30 Aug 2018 09:56:24 +0000 (17:56 +0800)
committerYingxin <yingxin.cheng@intel.com>
Tue, 4 Sep 2018 10:37:48 +0000 (18:37 +0800)
commit2d61065bd7312a271fbb4a0958733effcefda357
treeaf480d8065070b9ce49c81c5a6c3b8d9f2b0fc05
parentbee7be532dfa232b70e886edc4ba3e8f5523e55d
crimson/net: support multiple call to conn.close()

It is possible while closing a connectin during a msgr shutdown,
a second close() can be called in `read_tags_until_next_message()`

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