mirror of
https://github.com/fatedier/frp.git
synced 2026-04-05 00:29:16 +08:00
frps: fix sometimes no response when frpc login to frps, see #142
This commit is contained in:
@@ -395,7 +395,7 @@ func CreateProxy(s *ProxyServer) error {
|
||||
if oldServer.Status == consts.Working {
|
||||
return fmt.Errorf("this proxy is already working now")
|
||||
}
|
||||
oldServer.Close()
|
||||
oldServer.Release()
|
||||
if oldServer.PrivilegeMode {
|
||||
delete(ProxyServers, s.Name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user