@ -28,3 +28,4 @@ bin/
# Cache
*.swp
*.swo
@ -3,8 +3,8 @@ package main
import (
"os"
"frp/pkg/utils/log"
"frp/pkg/utils/conn"
)
func main() {
@ -21,7 +21,6 @@ type ClientCtlRes struct {
GeneralRes
}
type ServerCtlReq struct {
Type int64 `json:"type"`
@ -89,6 +89,7 @@ func (p *ProxyServer) Start() (err error) {
p.UserConnList.Remove(element)
} else {
cliConn.Close()
p.Unlock()
continue