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/ipnserver
Nick Khyl 0481042738 ipn/ipnserver: fix a deadlock in (*Server).blockWhileIdentityInUse
If the server was in use at the time of the initial check, but disconnected and was removed
from the activeReqs map by the time we registered a waiter, the ready channel will never
be closed, resulting in a deadlock. To avoid this, we check whether the server is still busy
after registering the wait.

Fixes #14655

Signed-off-by: Nick Khyl <nickk@tailscale.com>
11 months ago
..
actor.go ipn/ipnserver: use ipnauth.Actor instead of *ipnserver.actor whenever possible 11 months ago
proxyconnect.go Switch logging service from log.tailscale.io to log.tailscale.com (#14398) 12 months ago
proxyconnect_js.go all: update copyright and license headers 3 years ago
server.go ipn/ipnserver: fix a deadlock in (*Server).blockWhileIdentityInUse 11 months ago
server_test.go ipn/ipnserver: fix a deadlock in (*Server).blockWhileIdentityInUse 11 months ago