Bug 21394 touchup: Increase DNS attempts to 3

Also don't give up on a resolver as quickly if multiple are configured.
This commit is contained in:
Dhalgren
2018-04-01 05:01:51 +00:00
committed by Nick Mathewson
parent 4bb7d9fd12
commit 06484eb5e1
2 changed files with 18 additions and 8 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor bugfix (Exit node DNS retries):
- Re-attempt timed-out DNS queries 3 times before failure, since our
timeout is 5 seconds for them, but clients wait 10-15. Also allow
slightly more timeouts per resolver before giving up on it in the
case where an exit has multiple resolvers configured. Fixes bug 21394;
bugfix on 0.3.1.9.