diff options
| author | VimT <me@vimt.me> | 2024-09-21 14:37:51 +0800 |
|---|---|---|
| committer | Brad Fitzpatrick <brad@danga.com> | 2024-11-01 15:47:52 -0700 |
| commit | 43138c7a5c8815ea104499866440e34bb1220e93 (patch) | |
| tree | f23f068f80c4e3e7b482267a08b1b1c3d5f8fcea /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | b0626ff84c11f8ad5c680fdec214eb5981307f1c (diff) | |
| download | tailscale-43138c7a5c8815ea104499866440e34bb1220e93.tar.xz tailscale-43138c7a5c8815ea104499866440e34bb1220e93.zip | |
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>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
