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>
2023-11-05 10:57:36 -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 watchdog out of mapSession 2023-11-05 10:57:36 -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 watchdog out of mapSession 2023-11-05 10:57:36 -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