forked from Mxmilu666/frp
frps: fix panic caused by frps closing the nil channel, fix #205
This commit is contained in:
@@ -405,7 +405,6 @@ func CreateProxy(s *ProxyServer) error {
|
||||
ProxyServers[s.Name] = s
|
||||
metric.SetProxyInfo(s.Name, s.Type, s.BindAddr, s.UseEncryption, s.UseGzip,
|
||||
s.PrivilegeMode, s.CustomDomains, s.Locations, s.ListenPort)
|
||||
s.Init()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user