]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: fix incorrect SocketConnection::print()
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 16 Mar 2020 03:38:58 +0000 (11:38 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 23 Mar 2020 05:00:23 +0000 (13:00 +0800)
commite202069f097c2ebfae7203ee2f76a685264f8cbc
tree7f18da9dfee9b1caae04cdac6b4d0e3599c82a2a
parent373e16499efbcb9e0ede0fee0b009e399784eee5
crimson/net: fix incorrect SocketConnection::print()

The informaction about SocketConnection::side and
SocketConnection::ephemeral_port are not up-to-date in the log, because
they are not moved with Socket during connection replacement. They are
actually socket-level information.

Also take the chance to reorder Socket members.

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