[tor-bugs] #23985 [Core Tor/Tor]: If less than 15 missing mds, Tor will delay md download for 10 mins

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 7 17:51:31 UTC 2017


#23985: If less than 15 missing mds, Tor will delay md download for 10 mins
-----------------------------------------------+---------------------------
 Reporter:  asn                                |          Owner:  (none)
     Type:  defect                             |         Status:  new
 Priority:  Medium                             |      Milestone:  Tor:
                                               |  0.3.2.x-final
Component:  Core Tor/Tor                       |        Version:  Tor:
                                               |  0.3.0.6
 Severity:  Normal                             |     Resolution:
 Keywords:  tor-guard, tor-bridge, tor-client  |  Actual Points:
Parent ID:  #21969                             |         Points:
 Reviewer:                                     |        Sponsor:
-----------------------------------------------+---------------------------

Comment (by nickm):

 > Hm. I meant to suggest we disable the
 TestingClientMaxIntervalWithoutRequest delay functionality if we are
 missing descs of primary guards. Aka not wait 10 mins before fetching the
 primary guard descriptors.

 Ah!  You mean something like
 {{{
 diff --git a/src/or/routerlist.c b/src/or/routerlist.c
 index f04e2ca160331b..f587bfadcef1a1 100644
 --- a/src/or/routerlist.c
 +++ b/src/or/routerlist.c
 @@ -5010,6 +5010,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 */
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23985#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list