summaryrefslogtreecommitdiff
path: root/tor-dirclient/src/response.rs
Commit message (Collapse)AuthorAgeFilesLines
* Resolve clippy warnings from Rust 1.52.Nick Mathewson2021-05-071-1/+1
| | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them.
* Refactor errors in tor-decompress and tor-dirclient.Nick Mathewson2021-03-241-2/+22
| | | | | This lets us reinstate the code in dirclient that retired circuits depending on the error type.
* dirclient: add a function to download over a stream.Nick Mathewson2021-03-241-4/+4
| | | | | Also, remove references to DataStream, and comment on the future of the module.
* Fix a couple of clippy warnings in tor-dirclient.Nick Mathewson2020-12-021-0/+1
|
* Abandon directory circuits on most kinds of directory failure.Nick Mathewson2020-12-021-0/+70
(There are more cases that this _doesn't_ handle, but it's a start for now.)