tailscale/wgengine/monitor
Brad Fitzpatrick 24fa616e73 wgengine/monitor: make Darwin monitor shut down cleanly, add test
Don't use os.NewFile or (*os.File).Close on the AF_ROUTE socket. It
apparently does weird things to the fd and at least doesn't seem to
close it. Just use the unix package.

The test doesn't actually fail reliably before the fix, though. It
was an attempt. But this fixes the integration tests.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-03-01 21:34:41 -08:00
..
monitor_darwin.go wgengine/monitor: make Darwin monitor shut down cleanly, add test 2021-03-01 21:34:41 -08:00
monitor_freebsd.go wgengine/monitor_freebsd.go: remove duplicated errcheck 2020-08-21 09:48:22 -07:00
monitor_linux.go wgengine/monitor: don't log any single-IP routes added to the tailscale table. 2021-02-22 20:21:51 -08:00
monitor_test.go wgengine/monitor: make Darwin monitor shut down cleanly, add test 2021-03-01 21:34:41 -08:00
monitor_unsupported.go wgengine/monitor: make the darwin link monitor work in the sandbox too 2021-02-28 21:14:51 -08:00
monitor_windows.go wgengine/monitor: close closeHandle 2021-01-07 20:18:02 -08:00
monitor.go wgengine{,/monitor}: move interface state fetching/comparing to monitor 2021-03-01 13:01:08 -08:00