cloudflared-mirror/edgediscovery/allregions
Sudarsan Reddy b8b35d99fa TUN-7002: Randomise first region selection
We previously always preferred region2 as the first region to connect
to if both the regions cloudflared connects to have the same number of
availabe addresses. This change randomises that choice. The first
connection, conn index: 0, can now either connect to region 1 or region
2.

More importantly, conn 0 and 2 and 1 and 3 need not belong to the same
region.
2022-12-07 17:46:15 +00:00
..
address.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
address_test.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
discovery.go TUN-6917: Bump go to 1.19.3 2022-11-07 09:19:19 -08:00
discovery_test.go TUN-4927: Parameterize region in edge discovery code 2021-08-17 14:27:21 -05:00
mocks_for_test.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
region.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
region_test.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
regions.go TUN-7002: Randomise first region selection 2022-12-07 17:46:15 +00:00
regions_test.go TUN-6007: Implement new edge discovery algorithm 2022-06-23 16:55:03 +00:00
usedby.go TUN-2714: New edge discovery. Connections try to reconnect to the same edge IP. 2020-02-14 19:49:54 +00:00