Quellcode durchsuchen

choose helper nodes to have high capacity always

svn:r5563
Roger Dingledine vor 20 Jahren
Ursprung
Commit
b974f67c01
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/or/circuitbuild.c

+ 1 - 1
src/or/circuitbuild.c

@@ -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);