mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 21:16:22 +02:00
Note a magic 2 that probably should be replaced now that we have more dirservers
svn:r6232
This commit is contained in:
parent
5b87b0bf55
commit
444e3b8eb2
@ -3466,6 +3466,9 @@ update_router_descriptor_client_downloads(time_t now)
|
||||
"Called router_descriptor_client_downloads() on a mirror?");
|
||||
}
|
||||
|
||||
/* XXX here's another magic 2 that probably should be replaced
|
||||
* by <= 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,
|
||||
"Not enough networkstatus documents to launch requests.");
|
||||
|
Loading…
Reference in New Issue
Block a user