tailscale/control/controlclient
David Anderson 66c7875974 control/controlclient: wait for c1 to receive a netmap.
This strictly sequences things such that c1 is fully registered in
the control server before c2 creates its poll. Failure to do this
can cause an inversion where c2's poll finishes establishing
before c1's poll starts, which results in c2 getting disconnected
rather than c1, and the test times out waiting for c1 to get kicked.

Fixes #98.

Signed-off-by: David Anderson <danderson@tailscale.com>
2020-04-27 23:06:02 -07:00
..
auto_test.go control/controlclient: document test TestClientsReusingKeys. 2020-04-27 22:48:40 -07:00
auto.go all: remove unnecessary trailing newlines in format patterns for consistency 2020-04-11 08:35:34 -07:00
controlclient_test.go types/empty: add Message, stop using mysterious *struct{} 2020-02-14 13:35:49 -08:00
direct_test.go control/controlclient: wait for c1 to receive a netmap. 2020-04-27 23:06:02 -07:00
direct.go control/controlclient: fix build break caused by overzealous gitting 2020-04-27 08:18:35 -07:00
netmap.go cmd/relaynode: delete it! 2020-03-25 04:48:15 -04:00
persist_test.go ipn: implement Prefs.Equals efficiently. 2020-02-17 15:01:23 -08:00