[or-cvs] r9434: the other half of my patch. more coming later. (in tor/trunk: doc src/or)

arma at seul.org arma at seul.org
Sat Jan 27 09:24:31 UTC 2007


Author: arma
Date: 2007-01-27 04:24:23 -0500 (Sat, 27 Jan 2007)
New Revision: 9434

Modified:
   tor/trunk/doc/TODO
   tor/trunk/src/or/or.h
Log:
the other half of my patch. more coming later.


Modified: tor/trunk/doc/TODO
===================================================================
--- tor/trunk/doc/TODO	2007-01-27 09:13:19 UTC (rev 9433)
+++ tor/trunk/doc/TODO	2007-01-27 09:24:23 UTC (rev 9434)
@@ -30,7 +30,7 @@
     Make sure that we don't freak out when the network is down.
 
 Items for 0.1.2.x:
-R - weight dir requests by advertised bandwidth? with maybe a lower cutoff
+  o weight dir requests by advertised bandwidth? with maybe a lower cutoff
     than for tor traffic. perhaps also weighted by the expected size of
     the response.
 

Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h	2007-01-27 09:13:19 UTC (rev 9433)
+++ tor/trunk/src/or/or.h	2007-01-27 09:24:23 UTC (rev 9434)
@@ -2836,6 +2836,7 @@
                          int need_capacity, int need_guard);
 uint32_t router_get_advertised_bandwidth(routerinfo_t *router);
 routerinfo_t *routerlist_sl_choose_by_bandwidth(smartlist_t *sl, int for_exit);
+routerstatus_t *routerstatus_sl_choose_by_bandwidth(smartlist_t *sl);
 
 routerinfo_t *router_choose_random_node(const char *preferred,
                                         const char *excluded,



More information about the tor-commits mailing list