b8b35d99fa
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. |
||
---|---|---|
.. | ||
address.go | ||
address_test.go | ||
discovery.go | ||
discovery_test.go | ||
mocks_for_test.go | ||
region.go | ||
region_test.go | ||
regions.go | ||
regions_test.go | ||
usedby.go |