mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
Fix connection leaks in multiple error paths across client and server: - server/proxy/http: close tmpConn when WithEncryption fails - client/proxy: close localConn when ProxyProtocol WriteTo fails - client/visitor/sudp: close visitorConn on all error paths in getNewVisitorConn - client/visitor/xtcp: close tunnelConn when WithEncryption fails - client/visitor/xtcp: close lConn when NewKCPConnFromUDP fails - pkg/plugin/client/unix_domain_socket: close localConn and connInfo.Conn when WriteTo fails, close connInfo.Conn when DialUnix fails - pkg/plugin/client/tls2raw: close tlsConn when Handshake or Dial fails |
||
|---|---|---|
| .. | ||
| configmgmt | ||
| event | ||
| health | ||
| http | ||
| proxy | ||
| visitor | ||
| api_router.go | ||
| config_manager.go | ||
| config_manager_test.go | ||
| connector.go | ||
| control.go | ||
| service.go | ||
| service_test.go | ||