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-android/cmd/tailscale
Elias Naur 0d0a049057 cmd/tailscale: avoid deadlocking between backend calls and callbacks
The runBackend goroutine issues backend requests (StartLoginInteractive,
Logout, SetPrefs) from the same select that receives callbacks the
backend.

Avoid the potential for same-goroutine deadlock by issuing backend requests on
separate goroutines.

Fixes tailscale/tailscale#470

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
..
backend.go java/com/tailscale/ipn: explicitly allow IPv4 and IPv6 traffic 4 years ago
callbacks.go all: initial commit 5 years ago
logo.go all: initial commit 5 years ago
main.go cmd/tailscale: avoid deadlocking between backend calls and callbacks 4 years ago
multitun.go all: initial commit 5 years ago
pprof.go all: initial commit 5 years ago
store.go all: initial commit 5 years ago
tailscale.png all: initial commit 5 years ago
tools.go cmd/tailscale: bump gio version and add tools.go import of the gogio tool 4 years ago
ui.go cmd/tailscale: assume internet connectivity at startup 4 years ago