aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-03-01 15:11:23 -0500
committerNick Mathewson <nickm@torproject.org>2017-03-01 15:11:23 -0500
commit7d3883d0846a254b755316d4ca1f0f3b8250b8c9 (patch)
tree42b5b1ae5ab62b5c0ba53f52bbc8725478a96990 /src
parenta0a4f8ae5d94a667ad431e487e08bc935a6989b5 (diff)
parent5298ab59170be74aed20e04e5378ec66eef6476e (diff)
downloadtor-7d3883d0846a254b755316d4ca1f0f3b8250b8c9.tar.gz
tor-7d3883d0846a254b755316d4ca1f0f3b8250b8c9.zip
Merge branch 'maint-0.3.0'
Diffstat (limited to 'src')
-rw-r--r--src/or/entrynodes.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 729e4b0391..c3c576c812 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -3365,7 +3365,14 @@ 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);
- num_primary_to_check++;
+ /*
+ 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++;
+ */
SMARTLIST_FOREACH_BEGIN(gs->primary_entry_guards, entry_guard_t *, guard) {
entry_guard_consider_retry(guard);