]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: stop generating new client_cookie when reconnect
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 26 Aug 2019 04:58:08 +0000 (12:58 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 28 Aug 2019 02:16:39 +0000 (10:16 +0800)
commit5f347a877288d616c9413fe22243d7b5cf11babb
tree504cd4956f3cfdc069ec2733948a0d87d5228f26
parent1f842bd06d0d60b339d544c815f019b5cc6bc614
crimson/net: stop generating new client_cookie when reconnect

When handshake failed before client receive server_cookie, don't renew
client_cookie, or the session will be reset and pending messages will be
lost.

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