Browse Source

r15976@catbus: nickm | 2007-10-20 19:44:47 -0400
Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs.


svn:r12067

Nick Mathewson 18 years ago
parent
commit
dc4e710e27
2 changed files with 5 additions and 0 deletions
  1. 3 0
      ChangeLog
  2. 2 0
      src/or/routerlist.c

+ 3 - 0
ChangeLog

@@ -83,6 +83,9 @@ Changes in version 0.2.0.9-alpha - 2007-10-??
   o Minor bugfixes (misc):
     - Make base32_decode() accept upper-case letters.  Bugfix on
       0.2.0.7-alpha.
+    - Don't try to download extrainfo documents when we're trying to
+      fetch enough directory info to build a circuit: having enough
+      info should get priority.
 
   o Minor bugfixes (performance):
     - Base64 decoding was actually showing up on our profile when parsing

+ 2 - 0
src/or/routerlist.c

@@ -3801,6 +3801,8 @@ update_extrainfo_downloads(time_t now)
     return;
   if (should_delay_dir_fetches(options))
     return;
+  if (!router_have_minimum_dir_info())
+    return;
 
   pending = digestmap_new();
   list_pending_descriptor_downloads(pending, 1);