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 44c6909c92 control/controlclient: move watchdog out of mapSession
In prep for making mapSession's lifetime not be 1:1 with a single HTTP
response's lifetime, this moves the inactivity timer watchdog out of
mapSession and into the caller that owns the streaming HTTP response.

(This is admittedly closer to how it was prior to the mapSession type
existing, but that was before we connected some dots which were
impossible to even see before the mapSession type broke the code up.)

Updates #7175

Change-Id: Ia108dac84a4953db41cbd30e73b1de4a2a676c11
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 watchdog out of mapSession 2 years ago
direct_test.go control/controlclient: add Auto.updateRoutine 2 years ago
map.go control/controlclient: move watchdog out of 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