[or-cvs] Remove about 30% of the v1 directory bulk by not including ...

arma at seul.org arma at seul.org
Sun Apr 9 01:00:26 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	dirserv.c 
Log Message:
Remove about 30% of the v1 directory bulk by not including down or
invalid nodes.

This will make exitlist's running on v1 not very good. I feel sorry for
them, but not as sorry as I feel for the directory mirrors.


Index: dirserv.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.326
retrieving revision 1.327
diff -u -p -d -r1.326 -r1.327
--- dirserv.c	8 Apr 2006 21:59:15 -0000	1.326
+++ dirserv.c	9 Apr 2006 01:00:24 -0000	1.327
@@ -752,10 +752,8 @@ live_enough_for_v1_dir(routerinfo_t *ri,
   time_t cutoff = now - ROUTER_MAX_AGE_TO_PUBLISH;
   if (ri->cache_info.published_on < cutoff)
     return 0;
-#if 0
   if (!ri->is_running || !ri->is_valid)
     return 0;
-#endif
   return 1;
 }
 



More information about the tor-commits mailing list