mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
client忽略keepalive消息
This commit is contained in:
@@ -114,6 +114,8 @@ func (conn *Conn) loopRead(cancel context.CancelFunc) {
|
||||
linkID = msg.GetXDisconnect().GetId()
|
||||
case network.Msg_forward:
|
||||
linkID = msg.GetXData().GetLid()
|
||||
case network.Msg_keepalive:
|
||||
continue
|
||||
}
|
||||
conn.RLock()
|
||||
ch := conn.read[linkID]
|
||||
|
||||
Reference in New Issue
Block a user