]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
AsyncConnection: Allow reply reset tag if first hit
authorHaomai Wang <haomaiwang@gmail.com>
Tue, 10 Feb 2015 14:19:17 +0000 (22:19 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Tue, 10 Feb 2015 14:24:15 +0000 (22:24 +0800)
commit25d53f690c234d0d3a2c8a5eea352f053988caec
treeffe568dde5db0dff9e892ad7a20eebba4f888f22
parentf08e163776d8e23b56b51e6dc888be102f81f8cf
AsyncConnection: Allow reply reset tag if first hit

Commit 7bb7b1ec1e3f8b4141dedc3b88aa2aac476876d4 prevent replying reset tag if no
session reset happen. But if initiator has state, server side is a fresh connection,
server side need to reply a reset tag.

Rename "once_session_reset" to "allow_session_reset" to solve this problem and avoid
reset/retry tag loop problem.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h