mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
authdirs shouldn't complain about unreachability when they
fetch a descriptor from somebody else. this is not the right time to increment the failure count. svn:r6184
This commit is contained in:
parent
581795f41d
commit
67b61fe475
@ -1544,7 +1544,7 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
|
||||
router->num_unreachable_notifications =
|
||||
old_router->num_unreachable_notifications;
|
||||
}
|
||||
if (authdir &&
|
||||
if (authdir && !from_cache && !from_fetch &&
|
||||
dirserv_thinks_router_is_blatantly_unreachable(router,
|
||||
time(NULL))) {
|
||||
if (router->num_unreachable_notifications >= 3) {
|
||||
|
Loading…
Reference in New Issue
Block a user