fix 拦截user后导致proxy断开

This commit is contained in:
afocus 2018-01-24 11:55:42 +08:00
parent 0280eae521
commit 000c485248

View File

@ -115,7 +115,7 @@ func (pxy *BaseProxy) startListenHandler(p Proxy, handler func(Proxy, frpNet.Con
if !globalIRainIPPool.Check(c.RemoteAddr()) { if !globalIRainIPPool.Check(c.RemoteAddr()) {
c.Close() c.Close()
pxy.Warn("user connection not auth [%s]", useraddr) pxy.Warn("user connection not auth [%s]", useraddr)
return continue
} }
go handler(p, c) go handler(p, c)
} }