summaryrefslogtreecommitdiff
path: root/crates/tor-dirclient/src/request.rs
Commit message (Collapse)AuthorAgeFilesLines
* dirclient: add the ability to reject circuits that are too skewed.Nick Mathewson2022-05-111-1/+65
| | | | This will help implement #466.
* Remove allow(clippy::disallowed_methods) lint.Nick Mathewson2022-03-301-1/+0
|
* Merge branch 'no-system-time' into 'main'eta2022-03-301-0/+1
|\ | | | | | | | | | | | | Don't use SystemTime::now() Closes #306 See merge request tpo/core/arti!365
| * use wallclock where possible in teststrinity-1686a2022-02-261-0/+1
| |
* | dirclient: Collect and expose peer information from errors.Nick Mathewson2022-03-211-1/+2
| | | | | | | | | | | | | | | | | | | | This commit refactors the dirclient error type into two cases: errors when constructing a circuit, and errors that occur once we already have a one-hop circuit. The latter can usually be attributed to the specific cache we're talking to. This commit also adds a function to expose the information about which directory gave us the info.
* | Replace manual Default and new with std derive in tor-dirclientIan Jackson2022-03-021-30/+6
|/
* add semicolons if nothing returnedDaniel Eades2021-11-251-2/+2
|
* tor-dirclient: Put routerdesc download behind a feature.Nick Mathewson2021-11-121-0/+8
| | | | Part of #125
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-1/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+555
This will cause some pain for now, but now is really the best time to do this kind of thing.