mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
choose helper nodes to have high capacity always
svn:r5563
This commit is contained in:
parent
77c0f6d456
commit
b974f67c01
1 changed files with 1 additions and 1 deletions
|
@ -1503,7 +1503,7 @@ choose_good_entry_server(cpath_build_state_t *state)
|
||||||
// but only if there are enough other nodes available.
|
// but only if there are enough other nodes available.
|
||||||
choice = router_choose_random_node(options->EntryNodes, options->ExcludeNodes,
|
choice = router_choose_random_node(options->EntryNodes, options->ExcludeNodes,
|
||||||
excluded, state ? state->need_uptime : 1,
|
excluded, state ? state->need_uptime : 1,
|
||||||
state ? state->need_capacity : 0,
|
state ? state->need_capacity : 1,
|
||||||
options->_AllowUnverified & ALLOW_UNVERIFIED_ENTRY,
|
options->_AllowUnverified & ALLOW_UNVERIFIED_ENTRY,
|
||||||
options->StrictEntryNodes);
|
options->StrictEntryNodes);
|
||||||
smartlist_free(excluded);
|
smartlist_free(excluded);
|
||||||
|
|
Loading…
Add table
Reference in a new issue