tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 59c1016aba63c62e658065475add3cf77f665afa
parent ce3d5da0d20361dbcaf0c5bc277d95e6706cd955
Author: Nick Mathewson <nickm@torproject.org>
Date:   Thu,  9 Nov 2017 08:17:46 -0500

Merge branch 'maint-0.3.2'

Diffstat:
Achanges/bug23985 | 9+++++++++
Msrc/or/routerlist.c | 5+++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/changes/bug23985 b/changes/bug23985 @@ -0,0 +1,9 @@ + o Minor bugfixes (bootstrapping): + - Fetch descriptors aggressively whenever we lack enough + to build circuits, regardless of how many descriptors we are missing. + Previously, we would delay launching the fetch when we had fewer than + 15 missing descriptors, even if some of those descriptors were + blocking circuits from building. Fixes bug 23985; bugfix on + 0.1.1.11-alpha. The effects of this bug became worse in 0.3.0.3-alpha, + when we began treating missing descriptors from our primary guards + as a reason to delay circuits. diff --git a/src/or/routerlist.c b/src/or/routerlist.c @@ -5024,6 +5024,11 @@ launch_descriptor_downloads(int purpose, log_debug(LD_DIR, "There are enough downloadable %ss to launch requests.", descname); + } else if (! router_have_minimum_dir_info()) { + log_debug(LD_DIR, + "We are only missing %d %ss, but we'll fetch anyway, since " + "we don't yet have enough directory info.", + n_downloadable, descname); } else { /* should delay */