tailscale/ipn
Brad Fitzpatrick 1fd9958e9d ipn: wait for initial portpoll result before starting controlclient
We were creating the controlclient and starting the portpoll concurrently,
which frequently resulted in the first controlclient connection being canceled
by the firsdt portpoll result ~milliseconds later, resulting in another
HTTP request.

Instead, wait a bit for the first portpoll result so it's much less likely to
interrupt our controlclient connection.

Updates tailscale/corp#557
2020-10-14 14:07:40 -07:00
..
ipnserver ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 2020-10-12 14:28:21 -07:00
ipnstate Revert "all: keep UserProfiles a slice instead of a map for longer" 2020-09-30 08:43:31 -07:00
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 2020-04-01 10:03:44 -07:00
backend.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 2020-10-12 14:28:21 -07:00
doc.go Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
fake_test.go cmd/tailscale/cli: add basic 'down' subcommand 2020-08-25 18:54:29 -07:00
handle.go ipn: add Login backend command for sign-in with token 2020-07-14 13:09:36 +02:00
local.go ipn: wait for initial portpoll result before starting controlclient 2020-10-14 14:07:40 -07:00
loglines_test.go ipn: simplify TestLocalLogLines, defer a Shutdown of its LocalBackend 2020-09-04 08:36:07 -07:00
message_test.go ipn: add Login backend command for sign-in with token 2020-07-14 13:09:36 +02:00
message.go cmd/tailscale/cli: add basic 'down' subcommand 2020-08-25 18:54:29 -07:00
prefs_test.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 2020-10-12 14:28:21 -07:00
prefs.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 2020-10-12 14:28:21 -07:00
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 2020-05-13 23:12:35 -04:00
store.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 2020-10-12 14:28:21 -07:00