fix 如果报错,就会拒绝服务的问题
This commit is contained in:
parent
3c157f531d
commit
d10a80765e
|
@ -129,7 +129,7 @@ func (s *Server) createNewClientConnection(ctx context.Context, listener Listene
|
||||||
for {
|
for {
|
||||||
err := s.handle(ctx, qConn, connect, connId)
|
err := s.handle(ctx, qConn, connect, connId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
break
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}(sctx, connect)
|
}(sctx, connect)
|
||||||
|
|
Loading…
Reference in New Issue