summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-03-02 16:47:47 +0200
committerNick Mathewson <nickm@torproject.org>2017-03-09 09:19:12 -0500
commit41324b5ae1334a40baa87785ad18d1a4d9df5322 (patch)
tree6a0d25467a26383574264909037ca8af61a916f5
parentded2c8c6894e6de2784e60d0d9cafec911fc9b9b (diff)
downloadtor-41324b5ae1334a40baa87785ad18d1a4d9df5322.tar.gz
tor-41324b5ae1334a40baa87785ad18d1a4d9df5322.zip
Revert "Restore correct behavior of 0.3.0.4-rc with bridges+ipv6-min"
This reverts commit 5298ab59170be74aed20e04e5378ec66eef6476e.
-rw-r--r--src/or/entrynodes.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index c3c576c812..729e4b0391 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -3365,14 +3365,7 @@ guard_selection_have_enough_dir_info_to_build_circuits(guard_selection_t *gs)
* guards in our list, since these are the guards that we typically use for
* circuits. */
num_primary_to_check = get_n_primary_guards_to_use(GUARD_USAGE_TRAFFIC);
- /*
- We had added this to try to guarantee that we'd not normally try a guard
- without a descriptor, even if we didn't use the first guard. But it led
- to problems with the chutney bridges+ipv6-min test. A better solution is
- needed.
-
- num_primary_to_check++;
- */
+ num_primary_to_check++;
SMARTLIST_FOREACH_BEGIN(gs->primary_entry_guards, entry_guard_t *, guard) {
entry_guard_consider_retry(guard);