frps: new params max_ports_per_client

This commit is contained in:
fatedier
2018-01-26 14:56:55 +08:00
parent 637ddbce1f
commit 8e719ff0ff
5 changed files with 71 additions and 8 deletions

View File

@@ -427,7 +427,7 @@ func (ctl *Control) worker() {
go ctl.reader()
// start all configured proxies
ctl.pm.CheckAndStartProxy([]string{ProxyStatusNew})
ctl.pm.CheckAndStartProxy([]string{ProxyStatusNew, ProxyStatusClosed})
checkProxyTicker.Stop()
checkProxyTicker = time.NewTicker(checkInterval)