mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 06:33:44 +01:00
fix a bootstrapping check we ignored that prevents us from running
with only one dir authority. svn:r6570
This commit is contained in:
parent
11dcb7f4ae
commit
a91be49402
@ -3442,10 +3442,8 @@ update_router_descriptor_client_downloads(time_t now)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX here's another magic 2 that probably should be replaced
|
if (networkstatus_list && smartlist_len(networkstatus_list) <=
|
||||||
* by <= smartlist_len(trusted_dir_servers)/2
|
smartlist_len(trusted_dir_servers)/2) {
|
||||||
* or by a function returning same. -- weasel */
|
|
||||||
if (networkstatus_list && smartlist_len(networkstatus_list) < 2) {
|
|
||||||
log_info(LD_DIR,
|
log_info(LD_DIR,
|
||||||
"Not enough networkstatus documents to launch requests.");
|
"Not enough networkstatus documents to launch requests.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user