]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
new microdescs mean progress towards bootstrapping
authorRoger Dingledine <arma@torproject.org>
Mon, 22 Feb 2016 07:47:57 +0000 (02:47 -0500)
committerRoger Dingledine <arma@torproject.org>
Mon, 22 Feb 2016 07:47:57 +0000 (02:47 -0500)
Now, when a user who has set EntryNodes finishes bootstrapping, Tor
automatically repopulates the guard set based on this new directory
information. Fixes bug 16825; bugfix on 0.2.3.1-alpha.

changes/bug16825 [new file with mode: 0644]
src/or/directory.c

diff --git a/changes/bug16825 b/changes/bug16825
new file mode 100644 (file)
index 0000000..75c5627
--- /dev/null
@@ -0,0 +1,7 @@
+  o Minor bugfixes:
+    - Count receipt of new microdescriptors as progress towards
+      bootstrapping. Now, when a user who has set EntryNodes finishes
+      bootstrapping, Tor automatically repopulates the guard set based
+      on this new directory information. Fixes bug 16825; bugfix on
+      0.2.3.1-alpha.
+
index ecf6da8ac1ecf814f2e116ce85c49bb676c91ea4..b3af6f9c2319ea3145ea080c1fbae4ab26d6e510 100644 (file)
@@ -2168,6 +2168,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
       }
       control_event_bootstrap(BOOTSTRAP_STATUS_LOADING_DESCRIPTORS,
                               count_loading_descriptors_progress());
+      if (mds && smartlist_len(mds))
+        directory_info_has_arrived(now, 0);
       SMARTLIST_FOREACH(which, char *, cp, tor_free(cp));
       smartlist_free(which);
       smartlist_free(mds);