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>
2023-11-05 08:53:47 -08:00
..
auto.go control/controlclient: move lastPrintMap field from Direct to mapSession 2023-11-05 08:53:47 -08:00
client.go tsnet: add a test for restarting a tsnet server, fix Windows 2023-09-29 09:05:45 -07:00
controlclient_test.go control/controlclient: clean up various things in prep for state overhaul 2023-09-01 12:23:34 -07:00
direct_test.go control/controlclient: add Auto.updateRoutine 2023-08-10 12:23:08 -07:00
direct.go control/controlclient: move lastPrintMap field from Direct to mapSession 2023-11-05 08:53:47 -08:00
map_test.go tailcfg, all: use []netip.AddrPort instead of []string for Endpoints 2023-10-01 18:23:02 -07:00
map.go control/controlclient: move lastPrintMap field from Direct to mapSession 2023-11-05 08:53:47 -08:00
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 2023-05-01 13:22:10 -07:00
noise.go control/controlclient: fix deadlock in shutdown 2023-10-03 18:02:55 -07:00
sign_supported_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_supported.go control/controlclient: support certstore without cgo 2023-10-20 15:17:32 -04:00
sign_unsupported.go control/controlclient: support certstore without cgo 2023-10-20 15:17:32 -04:00
sign.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
status.go all: implement AppendText alongside MarshalText (#9207) 2023-09-01 18:15:19 -07:00