summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-12 21:15:30 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-18 16:32:17 +0000
commit5cb27d8991620af2b09c5cefaeed7b8b871c4aae (patch)
tree759040483dfe23526a65c7c83f1a07f37c7f1871 /src/or/entrynodes.c
parent36d45a9f6448524d70e6fbe0fb16f61ef5b43c1f (diff)
downloadtor-5cb27d8991620af2b09c5cefaeed7b8b871c4aae.tar.gz
tor-5cb27d8991620af2b09c5cefaeed7b8b871c4aae.zip
Use exponential backoffs for bridge descriptor downloads
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 1a31aa4822..a210ca1125 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();