[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] authdirs shouldn"t complain about unreachability when they
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
routerlist.c
Log Message:
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.
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.462
retrieving revision 1.463
diff -u -p -d -r1.462 -r1.463
--- routerlist.c 18 Mar 2006 01:24:04 -0000 1.462
+++ routerlist.c 18 Mar 2006 05:37:15 -0000 1.463
@@ -1544,7 +1544,7 @@ router_add_to_routerlist(routerinfo_t *r
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) {