mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
Extract two shared helpers to eliminate duplicated code across STCP, SUDP, and XTCP visitors: - dialRawVisitorConn: handles ConnectServer + NewVisitorConn handshake (auth, sign key, 10s read deadline, error check) - wrapVisitorConn: handles encryption + pooled compression wrapping, returning a recycleFn for pool resource cleanup SUDP is upgraded from WithCompression to WithCompressionFromPool, aligning with the pooled compression used by STCP and XTCP. |
||
|---|---|---|
| .. | ||
| 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 | ||