]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async: keep connection alive only actually sending 24301/head
authorKefu Chai <kchai@redhat.com>
Thu, 27 Sep 2018 12:40:22 +0000 (20:40 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 27 Sep 2018 12:40:30 +0000 (20:40 +0800)
commitc316f821807f8fe9eb71982b7ed93b99acd0bfcd
tree5548e77ac5ec0389cd32bb9f715392540de70aa7
parent15165f4de28d91ee78bb8503e3eabaf3dc9b4903
msg/async: keep connection alive only actually sending

When connection stuck into odd state, we need to let connection timeout.
If send_message could update last_active, it won't play the role as
expected.
So we move last_active updated to the place actually should.

Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/async/AsyncConnection.cc