]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: discard future returned by close()
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 11 Sep 2019 06:09:45 +0000 (14:09 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 18 Sep 2019 04:32:31 +0000 (12:32 +0800)
commitac48476fd1621f8841148effdb825a9217251d91
treed855fd2a94132e896c21417a91dd512e8fff624c
parent16f2d7558264552ccc6868eee0108e180035551d
crimson/net: discard future returned by close()

It's OK to discard the returned future of Connection::close() because
Messenger::shutdown() will wait for all connections closed.

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