tailscale/ipn/localapi
Brad Fitzpatrick 1deb6a8449 ipn: add no-disconnect in-process bus subscribers
Add NotifyInProcessNoDisconnect for in-process IPN bus subscribers that
must apply every bus update. When such a subscriber falls behind, block
Notify production instead of sending the terminal fell-behind message and
closing the watch.

This is intentionally not available over LocalAPI, where a slow or stuck
out-of-process client should still be disconnected rather than allowed to
stall tailscaled. In-process callers that use the bit must keep their
callbacks fast and must not call back into LocalBackend from the callback.

Updates #20062

Change-Id: I730ad61a07475243bb226fba2262c1a3ded211ae
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2026-06-09 12:51:38 -07:00
..
cert.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
debug.go ipn/ipnlocal, control/controlclient: process node adds/removes in constant time 2026-05-21 09:26:19 -07:00
debugderp.go ipn/localapi,tstest/natlab: fix debug derp TLS check for sha256-raw CertName 2026-06-02 12:02:40 -07:00
disabled_stubs.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
localapi_drive.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
localapi_test.go ipn: add no-disconnect in-process bus subscribers 2026-06-09 12:51:38 -07:00
localapi.go ipn: add no-disconnect in-process bus subscribers 2026-06-09 12:51:38 -07:00
pprof.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
serve.go ipn,ipn/localapi: require local admin to serve Unix domain sockets 2026-06-03 09:45:02 -06:00
syspolicy_api.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tailnetlock.go all: rename NetworkLock functions/types to TailnetLock 2026-06-08 13:14:28 +01:00