]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async/AsyncConnection: shorter handshake step deps
authorHaomai Wang <haomai@xsky.com>
Sun, 19 Jun 2016 18:32:10 +0000 (02:32 +0800)
committerHaomai Wang <haomai@xsky.com>
Tue, 21 Jun 2016 14:07:54 +0000 (22:07 +0800)
commit6f22bb93620f444462fa0777d27d4a1462c7cb8a
treed6068421b8f4ebb2d052d22d04ae4fb1441cffe7
parent4de5407ac96686748497253e4daf51177f809a95
msg/async/AsyncConnection: shorter handshake step deps

Originally connect side will wait for accept side sending banner, actually
we don't need this logic to ensure anything.

So connect side will issue banner after tcp handshake straightway. It will
help for reducing session handshake period, then it avoid peer side drop this
connection in low level but connect side don't know right now.

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