暂时过滤错误协议
This commit is contained in:
parent
24fa41b2c6
commit
5280f00aa1
@ -101,7 +101,9 @@ func (a *agent) Run() {
|
||||
msg, err := a.gate.Processor.Unmarshal(data)
|
||||
if err != nil {
|
||||
log.Debug("unmarshal message error: %v", err)
|
||||
break
|
||||
// TODO : 过滤攻击包 不关闭连接
|
||||
// break
|
||||
continue
|
||||
}
|
||||
err = a.gate.Processor.Route(msg, a)
|
||||
if err != nil {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user