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/ipn
Marwan Sulaiman 651620623b ipn/ipnlocal: close foreground sessions on SetServeConfig
This PR ensures zombie foregrounds are shutdown if a new
ServeConfig is created that wipes the ongoing foreground ones.
For example, "tailscale serve|funnel reset|off" should close
all open sessions.

Updates #8489

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
1 year ago
..
ipnauth all: update copyright and license headers 2 years ago
ipnlocal ipn/ipnlocal: close foreground sessions on SetServeConfig 1 year ago
ipnserver logpolicy, various: allow overriding log function 1 year ago
ipnstate tailcfg: add NodeCapMap 1 year ago
localapi ipn/{ipnlocal,localapi}, cli: add debug force-netmap-update 1 year ago
policy ipn: prefer allow/denylist terminology 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 1 year ago
backend.go ipn, ipn/ipnlocal: add session identifier for WatchIPNBus 1 year ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 1 year ago
ipn_view.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 1 year ago
prefs.go ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile 1 year ago
prefs_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 1 year ago
serve.go tailcfg: define a type for NodeCapability 1 year ago
serve_test.go tailcfg: define a type for NodeCapability 1 year ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago