summaryrefslogtreecommitdiff
path: root/tor-dirclient
Commit message (Collapse)AuthorAgeFilesLines
...
* Better error types for tor-dirclientNick Mathewson2020-11-254-9/+33
|
* tor-dirclient: add support for partial documents.Nick Mathewson2020-11-253-39/+87
| | | | | | Some requests are still useful when we get only a partial response -- like those where we're asking for a bunch of documents at once. For those, we should return any nonempty partial result.
* missing docs in tor-dirclientNick Mathewson2020-11-232-0/+4
|
* Require (and write) docs in tor-dirclient.Nick Mathewson2020-11-203-7/+97
|
* Initial pass on directory-manager code.Nick Mathewson2020-11-192-5/+7
| | | | | | | | This code can now bootstrap from the network, cache the results, and reload from cache. There's lots more work to do here, including a big pile of tidying and refactoring and testing and documentation.
* Add support for using fallback directories in path constructionNick Mathewson2020-11-191-3/+2
| | | | | | This is mainly a refactoring commit, with a little new code. It also adds #[derive(Copy,Clone)] for a few types.
* Start a directory client implementationNick Mathewson2020-11-165-0/+450
It can send a GET request on a circuit, get an answer, and decompress it with zlib. It will need documentation and tests eventually, as well as serious refactoring.