6cc6c70d70
Instead of iterating over the map to determine the preferred forwarder on every packet (which could happen concurrently with map mutations), store it separately in an atomic variable. Fixes #6445 Signed-off-by: Anton Tolchanov <anton@tailscale.com> |
||
---|---|---|
.. | ||
derphttp | ||
testdata | ||
derp.go | ||
derp_client.go | ||
derp_server.go | ||
derp_server_default.go | ||
derp_server_linux.go | ||
derp_test.go | ||
dropreason_string.go |