aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2020-05-30 01:54:22 -0400
committerRoger Dingledine <arma@torproject.org>2020-05-30 02:20:48 -0400
commit39f2411b3f5ab1a50c74fdafb432d5286c451ab7 (patch)
treee8bddd28da64521ad8656ef2b61fb7ded7738c70 /src/core/or/circuitlist.c
parenta59d54756f9b369fefdc7ca84c432d8873264f42 (diff)
downloadtor-39f2411b3f5ab1a50c74fdafb432d5286c451ab7.tar.gz
tor-39f2411b3f5ab1a50c74fdafb432d5286c451ab7.zip
Preemptive circs should work with UseEntryGuards 0
Resume being willing to use preemptively-built circuits when UseEntryGuards is set to 0. We accidentally disabled this feature with that config setting (in our fix for #24469), leading to slower load times. Fixes bug 34303; bugfix on 0.3.3.2-alpha.
Diffstat (limited to 'src/core/or/circuitlist.c')
-rw-r--r--src/core/or/circuitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/circuitlist.c b/src/core/or/circuitlist.c
index be5ac3b7f6..03d495cdfd 100644
--- a/src/core/or/circuitlist.c
+++ b/src/core/or/circuitlist.c
@@ -1883,7 +1883,7 @@ circuit_find_to_cannibalize(uint8_t purpose_to_produce, extend_info_t *info,
}
/* Ignore any circuits for which we can't use the Guard. It is possible
- * that the Guard was removed from the samepled set after the circuit
+ * that the Guard was removed from the sampled set after the circuit
* was created so avoid using it. */
if (!entry_guard_could_succeed(circ->guard_state)) {
goto next;