tailscale/wgengine/magicsock
Brad Fitzpatrick 2df38b1feb wgengine/magicsock: quiet log flood at tailscaled shutdown
When you hit control-C on a tailscaled (notably in dev mode, but
also on any systemctl stop/restart), there is a flood of messages like:

magicsock: doing cleanup for discovery key d:aa9c92321db0807f
magicsock: doing cleanup for discovery key d:bb0f16aacadbfd46
magicsock: doing cleanup for discovery key d:b5b2d386296536f2
magicsock: doing cleanup for discovery key d:3b640649f6796c91
magicsock: doing cleanup for discovery key d:71d7b1afbcce52cd
magicsock: doing cleanup for discovery key d:315b61d7e0111377
magicsock: doing cleanup for discovery key d:9301f63dce69bf45
magicsock: doing cleanup for discovery key d:376141884d6fe072
....

It can be hundreds or even tens of thousands.

So don't do that. Not a useful log message during shutdown.

Change-Id: I029a8510741023f740877df28adff778246c18e5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-01-17 19:05:59 -08:00
..
debughttp.go wgengine/magicsock: fix panic in http debug server 2022-09-06 15:02:07 -07:00
debugknobs.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
debugknobs_stubs.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
magicsock.go wgengine/magicsock: quiet log flood at tailscaled shutdown 2023-01-17 19:05:59 -08:00
magicsock_default.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
magicsock_linux.go wgengine/magicsock: set UDP socket buffer sizes to 7MB 2022-10-13 14:46:25 -07:00
magicsock_test.go ipn/ipnlocal: fix StatusWithoutPeers not populating parts of Status 2022-12-19 13:15:28 -08:00
magicsock_unix_test.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
pathfinder.go wgengine/magicsock: set up pathfinder (#5994) 2022-10-20 14:34:49 -04:00