mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
choose helper nodes to have high capacity always
svn:r5563
This commit is contained in:
@@ -1503,7 +1503,7 @@ choose_good_entry_server(cpath_build_state_t *state)
|
||||
// but only if there are enough other nodes available.
|
||||
choice = router_choose_random_node(options->EntryNodes, options->ExcludeNodes,
|
||||
excluded, state ? state->need_uptime : 1,
|
||||
state ? state->need_capacity : 0,
|
||||
state ? state->need_capacity : 1,
|
||||
options->_AllowUnverified & ALLOW_UNVERIFIED_ENTRY,
|
||||
options->StrictEntryNodes);
|
||||
smartlist_free(excluded);
|
||||
|
||||
Reference in New Issue
Block a user