]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: add Connection::is_closed() for tests
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 26 Aug 2019 03:35:55 +0000 (11:35 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 28 Aug 2019 02:16:39 +0000 (10:16 +0800)
commit58dcc60c73ec3cc6463feea143c58b5124d817d7
tree054ffd79ced0bf0c1ae86e521af1218333729382
parent6631e3dc01b4844c42c4c797eeff9456757c0672
crimson/net: add Connection::is_closed() for tests

Tests need to introspect whether the connection is closed correctly.
For normal users, ms_handle_reset() will notify them when a connection is
closed by messenger.

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