| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix a test in tor-dirclient | Nick Mathewson | 2021-01-21 | 1 | -2/+2 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/mr/10' into main | Nick Mathewson | 2021-01-21 | 3 | -2/+108 | |
| |\ | ||||||
| | * | Reformats the code and removes extra return | Kushal Das | 2021-01-21 | 1 | -5/+10 | |
| | | | | | | | | | Based rust nightly cargo fmt. | |||||
| | * | Adds decompress_in_parts_zstd test | Kushal Das | 2021-01-21 | 1 | -0/+37 | |
| | | | | | | | | | | | | | Now we are testing decompression of the input via calling the process method 3 times. We get the final decompressed output only after the third call. | |||||
| | * | Adds decompression test for zstd | Kushal Das | 2021-01-21 | 1 | -0/+27 | |
| | | | | | | | | | Tests the decompression of the whole input in one go. | |||||
| | * | Adds zstd decompression implementation for dirclient | Kushal Das | 2021-01-21 | 3 | -2/+39 | |
| | | | | | | | | | Adds dependency to zstd crate. | |||||
| * | | Add a test for encoding authcert requests | Nick Mathewson | 2021-01-21 | 1 | -0/+28 | |
| | | | ||||||
| * | | Add a little testing in tor-dirclient | Nick Mathewson | 2021-01-21 | 4 | -2/+64 | |
| |/ | ||||||
| * | Basic test for tor-dirclient::util | Nick Mathewson | 2020-12-21 | 1 | -0/+25 | |
| | | ||||||
| * | Run cargo fmt | Nick Mathewson | 2020-12-17 | 1 | -1/+4 | |
| | | ||||||
| * | Merge branch 'mr_1_squashed' into main | Nick Mathewson | 2020-12-17 | 3 | -4/+46 | |
| |\ | ||||||
| | * | Fixup! issue #34: adding support for xz2 | owen66 | 2020-12-10 | 3 | -14/+16 | |
| | | | ||||||
| | * | issue #34: adding support for xz2 | owen66 | 2020-12-02 | 2 | -0/+40 | |
| | | | ||||||
| * | | Use anyhow crate to add extra context for various dirclient errors. | George Kadianakis | 2020-12-10 | 2 | -9/+26 | |
| | | | ||||||
| * | | Fix some rustdoc warnings. | Nick Mathewson | 2020-12-09 | 1 | -1/+2 | |
| | | | ||||||
| * | | De-parameterize ChanMgr and everything that wraps it. | Nick Mathewson | 2020-12-08 | 1 | -5/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes a whole lot of our code simpler, and makes it so that CircMgr and DirMgr no longer need to have anything parameterized over transports, either. Instead of boxing Transport inside of ChanMgr, I've made a new Connection trait that goes from a ChanTarget* straight to a Channel. This lets us avoid having to box the intermediate TLS object. [*] Actually, a copy of the information from a ChanTarget. Ick, but I had to make a copy to avoid parameterizing Connecter::build_channel. | |||||
| * | | Tolerate attempt to write a non-UTF-8 HTTP header. | Nick Mathewson | 2020-12-07 | 1 | -2/+6 | |
| | | | | | | | | | previously, we would panic. | |||||
| * | | Mark some XXXX issues as XXXX-A1. | Nick Mathewson | 2020-12-07 | 3 | -3/+2 | |
| | | | ||||||
| * | | tor-dirclient: tweak so that its future is Send. | Nick Mathewson | 2020-12-04 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fix a couple of clippy warnings in tor-dirclient. | Nick Mathewson | 2020-12-02 | 2 | -2/+3 | |
| | | | ||||||
| * | | Abandon directory circuits on most kinds of directory failure. | Nick Mathewson | 2020-12-02 | 2 | -21/+164 | |
| |/ | | | | | (There are more cases that this _doesn't_ handle, but it's a start for now.) | |||||
| * | tor-dirclient: add timeouts | Nick Mathewson | 2020-12-01 | 2 | -5/+38 | |
| | | | | | | | | | This adds two timeouts in total: one for sending begin, and getting headers, and one for getting the rest of the data. These timeouts are way too long right now, but at least the code is there. | |||||
| * | Implement a maximum length for directory responses | Nick Mathewson | 2020-11-25 | 3 | -4/+31 | |
| | | ||||||
| * | Extract another function in tor-dirclient | Nick Mathewson | 2020-11-25 | 1 | -16/+28 | |
| | | ||||||
| * | Better error types for tor-dirclient | Nick Mathewson | 2020-11-25 | 3 | -8/+32 | |
| | | ||||||
| * | tor-dirclient: add support for partial documents. | Nick Mathewson | 2020-11-25 | 2 | -38/+86 | |
| | | | | | | | 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-dirclient | Nick Mathewson | 2020-11-23 | 2 | -0/+4 | |
| | | ||||||
| * | Require (and write) docs in tor-dirclient. | Nick Mathewson | 2020-11-20 | 3 | -7/+97 | |
| | | ||||||
| * | Initial pass on directory-manager code. | Nick Mathewson | 2020-11-19 | 2 | -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 construction | Nick Mathewson | 2020-11-19 | 1 | -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 implementation | Nick Mathewson | 2020-11-16 | 4 | -0/+416 | |
| 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. | ||||||
