summaryrefslogtreecommitdiff
path: root/tor-dirmgr/src/retry.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use the "typos" tool to fix some spellingNick Mathewson2021-05-261-1/+1
|
* Prefer "relay" to "server" when appropriate.Nick Mathewson2021-05-181-4/+4
|
* A few easy tests in tor-dirmgr.Nick Mathewson2021-05-041-7/+26
|
* Major revision on DirMgr logic -- almost a complete rewrite.Nick Mathewson2021-04-131-1/+7
| | | | | | | | The big idea of this revision is to separate the code that knows about doing downloads from the code that decides what to download. Later, we can make a similar change for database access. With these changes together, we can make our code much more testable, and eventually enable more download types in parallel.
* resolve a clippy issueNick Mathewson2021-03-301-1/+3
|
* Declare a better default for DownloadScheduleConfig.Nick Mathewson2021-03-301-0/+11
|
* Add a compatibility layer so we can upgrade rand_core.Nick Mathewson2021-03-181-1/+1
| | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible.
* Avoid unwrap() in dirmgr.Nick Mathewson2021-03-041-1/+1
|
* Make our initial bootstrap retry schedule configurarableNick Mathewson2021-02-171-5/+50
|
* tor-dirmgr: retry up to 3 times on download failure.Nick Mathewson2020-12-011-0/+7
|
* Add a decorrelated-jitter implementation.Nick Mathewson2020-11-301-0/+145
This is the algorithm we use on download failure to back off before we retry.