From 3abafccd0eadb267401f20ef8c816c6e7f1c693e Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 12 Feb 2008 22:02:47 +0000 Subject: Start choosing which bridge to use proportional to its advertised bandwidth, rather than uniformly at random. This should speed up Tor for bridge users. Also do this for people who set StrictEntryNodes. svn:r13486 --- src/or/routerlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/routerlist.c') diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 46a372c1e7..d1b0e820ed 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1393,6 +1393,7 @@ get_max_believable_bandwidth(void) * If for_guard, we're picking a guard node: consider all guard's * bandwidth equally. Otherwise, weight guards proportionally less. * + * XXX DOCDOC the above args aren't args anymore */ static void * smartlist_choose_by_bandwidth(smartlist_t *sl, bandwidth_weight_rule_t rule, -- cgit v1.2.3-54-g00ecf