[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Use exponential backoffs for bridge descriptor downloads



commit 5cb27d8991620af2b09c5cefaeed7b8b871c4aae
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
Date:   Sun Jun 12 21:15:30 2016 +0000

    Use exponential backoffs for bridge descriptor downloads
---
 src/or/entrynodes.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 1a31aa4..a210ca1 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -2032,6 +2032,7 @@ bridge_add_from_config(bridge_line_t *bridge_line)
   if (bridge_line->transport_name)
     b->transport_name = bridge_line->transport_name;
   b->fetch_status.schedule = DL_SCHED_BRIDGE;
+  b->fetch_status.backoff = DL_SCHED_RANDOM_EXPONENTIAL;
   b->socks_args = bridge_line->socks_args;
   if (!bridge_list)
     bridge_list = smartlist_new();



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits