mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
new microdescs mean 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.
This commit is contained in:
parent
a9993a92fb
commit
c6952f65ef
7
changes/bug16825
Normal file
7
changes/bug16825
Normal file
@ -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.
|
||||||
|
|
@ -2168,6 +2168,8 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
|
|||||||
}
|
}
|
||||||
control_event_bootstrap(BOOTSTRAP_STATUS_LOADING_DESCRIPTORS,
|
control_event_bootstrap(BOOTSTRAP_STATUS_LOADING_DESCRIPTORS,
|
||||||
count_loading_descriptors_progress());
|
count_loading_descriptors_progress());
|
||||||
|
if (mds && smartlist_len(mds))
|
||||||
|
directory_info_has_arrived(now, 0);
|
||||||
SMARTLIST_FOREACH(which, char *, cp, tor_free(cp));
|
SMARTLIST_FOREACH(which, char *, cp, tor_free(cp));
|
||||||
smartlist_free(which);
|
smartlist_free(which);
|
||||||
smartlist_free(mds);
|
smartlist_free(mds);
|
||||||
|
Loading…
Reference in New Issue
Block a user