tailscale/net/socks5
VimT 43138c7a5c net/socks5: optimize UDP relay
Key changes:
- No mutex for every udp package: replace syncs.Map with regular map for udpTargetConns
- Use socksAddr as map key for better type safety
- Add test for multi udp target

Updates #7581

Change-Id: Ic3d384a9eab62dcbf267d7d6d268bf242cc8ed3c
Signed-off-by: VimT <me@vimt.me>
2024-11-01 15:47:52 -07:00
..
socks5_test.go net/socks5: optimize UDP relay 2024-11-01 15:47:52 -07:00
socks5.go net/socks5: optimize UDP relay 2024-11-01 15:47:52 -07:00