This commit is contained in:
aozhiwei 2023-04-23 19:37:05 +08:00
parent c70cf338be
commit f1e98da3c9

View File

@ -365,9 +365,6 @@ void App::DispatchMsg()
void App::ProcessClientMsg(f8::MsgHdr& hdr)
{
if (hdr.msgid < 99) {
return;
}
if (hdr.msgid == ss::_SS_CMLogin ||
hdr.msgid == ss::_SS_CMReconnect ||
hdr.msgid == ss::_SS_CMKcpHandshake) {
@ -449,9 +446,6 @@ void App::ProcessTargetServerMsg(f8::MsgHdr& hdr)
GCListener::Instance()->ForceCloseClient(hdr.socket_handle);
return;
}
if (hdr.msgid < 100) {
return;
}
if (hdr.msgid == ss::_SS_CMLogin || hdr.msgid == ss::_SS_CMReconnect) {
DownStreamMgr::Instance()->BindUpStream(hdr.socket_handle, hdr.ip_saddr);
GCListener::Instance()->MarkClient(hdr.socket_handle, true);