summaryrefslogtreecommitdiffhomepage
path: root/control/controlclient/netmap_test.go
AgeCommit message (Collapse)AuthorFilesLines
2020-07-23control/controlclient: rewrite, test NetworkMap.ConciseDiffFromBrad Fitzpatrick1-11/+156
It stood out a lot in hello.ipn.dev's profiles for generating a lot of garbage (and thus GC CPU).
2020-06-25control/controlclient: add Debug field to NetworkMapBrad Fitzpatrick1-18/+54
As part of disabling background STUN packets when idle, we want an emergency override switch to turn it back on, in case it interacts poorly in the wild. We'll send that via control, but we'll want to plumb it down to magicsock via NetworkMap. Updates tailscale/corp#320 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-06-24control/controlclient: cut down some NetworkMap stringification & diff ↵Brad Fitzpatrick1-0/+36
allocations And start of tests.