mirror of
https://github.com/fatedier/frp.git
synced 2026-04-04 16:19:15 +08:00
support udp
This commit is contained in:
@@ -146,6 +146,8 @@ func (ctl *Control) NewWorkConn() {
|
||||
if pxy, ok := ctl.proxies[startMsg.ProxyName]; ok {
|
||||
go pxy.InWorkConn(workConn)
|
||||
workConn.Info("start a new work connection")
|
||||
} else {
|
||||
workConn.Close()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user