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/control/controlclient
Brad Fitzpatrick c87d58063a control/controlclient: move lastPrintMap field from Direct to mapSession
It was a really a mutable field owned by mapSession that we didn't move
in earlier commits.

Once moved, it's then possible to de-func-ify the code and turn it into
a regular method rather than an installed optional hook.

Noticed while working to move map session lifetimes out of
Direct.sendMapRequest's single-HTTP-connection scope.

Updates #7175
Updates #cleanup

Change-Id: I6446b15793953d88d1cabf94b5943bb3ccac3ad9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
auto.go control/controlclient: move lastPrintMap field from Direct to mapSession 2 years ago
client.go tsnet: add a test for restarting a tsnet server, fix Windows 2 years ago
controlclient_test.go control/controlclient: clean up various things in prep for state overhaul 2 years ago
direct.go control/controlclient: move lastPrintMap field from Direct to mapSession 2 years ago
direct_test.go control/controlclient: add Auto.updateRoutine 2 years ago
map.go control/controlclient: move lastPrintMap field from Direct to mapSession 2 years ago
map_test.go tailcfg, all: use []netip.AddrPort instead of []string for Endpoints 2 years ago
noise.go control/controlclient: fix deadlock in shutdown 2 years ago
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 3 years ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go control/controlclient: support certstore without cgo 2 years ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go control/controlclient: support certstore without cgo 2 years ago
status.go all: implement AppendText alongside MarshalText (#9207) 2 years ago