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>
7 months ago
..
auto.go control/controlclient: move lastPrintMap field from Direct to mapSession 7 months ago
client.go tsnet: add a test for restarting a tsnet server, fix Windows 8 months ago
controlclient_test.go control/controlclient: clean up various things in prep for state overhaul 9 months ago
direct.go control/controlclient: move watchdog out of mapSession 7 months ago
direct_test.go control/controlclient: add Auto.updateRoutine 10 months ago
map.go control/controlclient: move watchdog out of mapSession 7 months ago
map_test.go tailcfg, all: use []netip.AddrPort instead of []string for Endpoints 8 months ago
noise.go control/controlclient: fix deadlock in shutdown 8 months ago
noise_test.go control/controlclient: use dnscache.Resolver for Noise client 1 year ago
sign.go all: update copyright and license headers 1 year ago
sign_supported.go control/controlclient: support certstore without cgo 7 months ago
sign_supported_test.go all: update copyright and license headers 1 year ago
sign_unsupported.go control/controlclient: support certstore without cgo 7 months ago
status.go all: implement AppendText alongside MarshalText (#9207) 9 months ago