From d20e2dcf5ac162aba98ab23728501f2cd8dd7c4b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 24 Mar 2024 12:28:20 +0800 Subject: [PATCH] 1 --- server/wsproxy/GCListener.cc | 1 + server/wsproxy/constant.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/wsproxy/GCListener.cc b/server/wsproxy/GCListener.cc index 4daaf25..49f1b5c 100644 --- a/server/wsproxy/GCListener.cc +++ b/server/wsproxy/GCListener.cc @@ -125,6 +125,7 @@ void GCListener::Init() tcp_listener_->bind_address = "0.0.0.0"; tcp_listener_->bind_port = JsonDataMgr::Instance()->GetConf()->At("listen_port")->AsXValue(); tcp_listener_->Open(); + a8::XPrintf("listener_port:%d\n", {tcp_listener_->bind_port}); f8::MsgQueue::Instance()->RegisterCallBack ( IM_HandleRedirect, diff --git a/server/wsproxy/constant.h b/server/wsproxy/constant.h index 8b27483..eae259d 100644 --- a/server/wsproxy/constant.h +++ b/server/wsproxy/constant.h @@ -20,7 +20,7 @@ enum InnerMesssage_e IM_ExecGM, IM_UpStreamDisconnect, IM_UpStreamConnect, - IM_HandleRedirect + IM_HandleRedirect, }; //网络处理对象