tailscale/ipn/ipnserver
Brad Fitzpatrick 727c0d6cfd ipn/ipnserver: close a small race in ipnserver, ~simplify code
There was a small window in ipnserver after we assigned a LocalBackend
to the ipnserver's atomic but before we Start'ed it where our
initalization Start could conflict with API calls from the LocalAPI.

Simplify that a bit and lay out the rules in the docs.

Updates #12028

Change-Id: Ic5f5e4861e26340599184e20e308e709edec68b1
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-05-07 21:27:06 -07:00
..
proxyconnect_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
proxyconnect.go all: fix nilness issues 2023-12-05 11:43:14 -05:00
server_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
server.go ipn/ipnserver: close a small race in ipnserver, ~simplify code 2024-05-07 21:27:06 -07:00