frp/server
fatedier 764a626b6e
server/control: deduplicate close-proxy logic and UserInfo construction (#5218)
Extract closeProxy() helper to eliminate duplicated 4-step cleanup
sequence (Close, PxyManager.Del, metrics, plugin notify) between
worker() and CloseProxy().

Extract loginUserInfo() helper to eliminate 4 repeated plugin.UserInfo
constructions using LoginMsg fields.

Optimize worker() to snapshot and clear the proxies map under lock,
then perform cleanup outside the lock to reduce lock hold time.
2026-03-08 00:02:14 +08:00
..
controller https: add load balancing group support (#5032) 2025-10-28 17:37:18 +08:00
group server/group: fix port leak and incorrect Listen port in TCPGroup (#5200) 2026-03-06 02:25:47 +08:00
http refactor: restructure API packages into client/http and server/http with typed proxy/visitor models (#5193) 2026-03-04 17:38:43 +08:00
metrics web/frps: add detailed client and proxy views with enhanced tracking (#5144) 2026-01-31 02:18:35 +08:00
ports support yaml/json/toml configuration format, make ini deprecated (#3599) 2023-09-06 10:18:02 +08:00
proxy refactor: fix modernize lint issues (#5215) 2026-03-07 23:10:19 +08:00
registry add persistent proxy/visitor store with CRUD API and web UI (#5188) 2026-03-02 01:09:59 +08:00
visitor use std slices package (#4008) 2024-02-20 12:01:41 +08:00
api_router.go refactor: restructure API packages into client/http and server/http with typed proxy/visitor models (#5193) 2026-03-04 17:38:43 +08:00
control.go server/control: deduplicate close-proxy logic and UserInfo construction (#5218) 2026-03-08 00:02:14 +08:00
service.go server: introduce SessionContext to encapsulate NewControl parameters (#5217) 2026-03-07 20:17:00 +08:00