You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/magicsock
Brad Fitzpatrick 187e22a756 wgengine/magicsock: don't run the DERP cleanup so often
To save CPU and wakeups, don't run the DERP cleanup timer regularly
unless there is a non-home DERP connection open.

Also eliminates the goroutine, moving to a time.AfterFunc.

Updates #1034

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 4 years ago
legacy.go wgengine/magicsock: adapt to wireguard-go without UpdateDst 4 years ago
magicsock.go wgengine/magicsock: don't run the DERP cleanup so often 4 years ago
magicsock_test.go wgengine/magicsock: prevent log-after-test in TestTwoDevicePing 4 years ago