From a2b1037f523810ae9d7a1ea26a6d0c9a407329f1 Mon Sep 17 00:00:00 2001 From: freeeyes Date: Tue, 10 Oct 2023 10:18:59 +0800 Subject: [PATCH] add tcp session test code. --- PSS_ASIO/TcpSession/TcpSession.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PSS_ASIO/TcpSession/TcpSession.cpp b/PSS_ASIO/TcpSession/TcpSession.cpp index 56a631e..18568fe 100644 --- a/PSS_ASIO/TcpSession/TcpSession.cpp +++ b/PSS_ASIO/TcpSession/TcpSession.cpp @@ -58,8 +58,11 @@ void CTcpSession::open(uint32 packet_parse_id, uint32 recv_size) message_list, shared_from_this()); } -#endif + set_io_bridge_connect_id(connect_id_, 3); + regedit_bridge_session_id(connect_id_); + set_io_bridge_connect_id(connect_id_, 0); +#endif do_read(); }