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