diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-23 09:01:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-23 09:01:24 -0400 |
commit | 703254a8321788bd6d03ec5f335fe338916fef6f (patch) | |
tree | 6decd78f0fc701c0c8f068089a4fa7cfa4cdc433 /src/or/routerlist.c | |
parent | 61dac57aa3790464dd50da9bbc78fd275f511f3d (diff) | |
parent | a09ec22a9b1d213716ac1792752c266c3a92a1f6 (diff) | |
download | tor-703254a8321788bd6d03ec5f335fe338916fef6f.tar.gz tor-703254a8321788bd6d03ec5f335fe338916fef6f.zip |
Merge remote-tracking branch 'public/bug15942_v2_alternative'
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index bdb3d490c7..b6dab1b516 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -159,6 +159,9 @@ download_status_cert_init(download_status_t *dlstatus) dlstatus->schedule = DL_SCHED_CONSENSUS; dlstatus->want_authority = DL_WANT_ANY_DIRSERVER; dlstatus->increment_on = DL_SCHED_INCREMENT_FAILURE; + dlstatus->backoff = DL_SCHED_RANDOM_EXPONENTIAL; + dlstatus->last_backoff_position = 0; + dlstatus->last_delay_used = 0; /* Use the new schedule to set next_attempt_at */ download_status_reset(dlstatus); |