fix 拦截user后导致proxy断开
This commit is contained in:
parent
0280eae521
commit
000c485248
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user