271: Algorithm tweak to allow multiple entry guards.
commitdeb8bcadced3c54d986c526662444a46e630621d
authorNick Mathewson <nickm@torproject.org>
Thu, 8 Dec 2016 17:47:29 +0000 (8 12:47 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 16 Dec 2016 16:34:31 +0000 (16 11:34 -0500)
tree6b1c0fc75e39a7e026fdad4f04c39c589eefd3ed
parent385602e9826e79dbf0d8b51abfd925e59f275708
271: Algorithm tweak to allow multiple entry guards.

Previously, we had NumEntryGuards kind of hardwired to 1.  Now we
have the code (but not the configuarability) to choose randomly from
among the first N primary guards that would work, where N defaults
to 1.

Part of 20831 support for making NumEntryGuards work again.
src/or/entrynodes.c