| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | dirclient: add a function to download over a stream. | Nick Mathewson | 2021-03-24 | 2 | -70/+88 | |
| | | | | | | Also, remove references to DataStream, and comment on the future of the module. | |||||
| * | Add the tor project as an author. | Nick Mathewson | 2021-03-17 | 1 | -1/+1 | |
| | | ||||||
| * | Add keywords to each Cargo.toml | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Add a description field to all our Cargo.toml files | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Give it a homepage everyplace. | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Use AsyncRead and AsyncWrite in tor-dirclient | Nick Mathewson | 2021-03-10 | 1 | -4/+8 | |
| | | ||||||
| * | Bump dependencies with "cargo upgrade" | Nick Mathewson | 2021-03-06 | 1 | -1/+1 | |
| | | ||||||
| * | Remove an unwrap in dirclient. | Nick Mathewson | 2021-03-04 | 1 | -40/+41 | |
| | | ||||||
| * | Move content-encoding handling to decompress | Nick Mathewson | 2021-03-04 | 2 | -69/+2 | |
| | | | | | This way tor-dirclient doesn't need to link to the compression crates. | |||||
| * | Moves decompress related code into tor-decompress crate | Kushal Das | 2021-03-04 | 3 | -263/+4 | |
| | | | | | | The related data structures are marked as public in the tor-decompress crate so that tor-dirclient can access them. | |||||
| * | Port to work with tokio or async-std. | Nick Mathewson | 2021-03-02 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | This is fairly ugly and I think I'll need to mess around with the feature configuration a while until we get something that's pleasant to develop with. This still seems like a good idea, though, since we _will_ need to be executor-agnostic in the end, or we'll have no way to handle wasm or embedded environments. Later down the road, we'll probably want to use futures::Executor or futures::Spawn more than having global entry points in tor_rtcompat. That would probably make our feature story simpler. Tokio is the default now, since tokio seems to be more heavily used for performance-critical stuff. This patch breaks tests; the next one will fix them, albeit questionably. | |||||
| * | Update to latest futures, once_cell | Nick Mathewson | 2021-02-23 | 1 | -1/+1 | |
| | | ||||||
| * | Update some dependencies. | Nick Mathewson | 2021-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | upgrade a few dependencies | Nick Mathewson | 2021-02-10 | 1 | -1/+1 | |
| | | ||||||
| * | bump serde and log | Nick Mathewson | 2021-02-01 | 1 | -1/+1 | |
| | | ||||||
| * | Merge remote-tracking branch 'origin/mr/12' into main | Nick Mathewson | 2021-01-27 | 1 | -2/+9 | |
| |\ | ||||||
| | * | Add an error type check in test_get_decompressor_err in tor-dirclient | hiro | 2021-01-25 | 1 | -2/+9 | |
| | | | ||||||
| * | | A few more tests in request.rs | Nick Mathewson | 2021-01-26 | 1 | -5/+9 | |
| |/ | ||||||
| * | Add a test for consensus requests in tor-dirclient. | hiro | 2021-01-22 | 1 | -0/+25 | |
| | | ||||||
| * | 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 | 4 | -2/+109 | |
| |\ | ||||||
| | * | 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 | 4 | -2/+40 | |
| | | | | | | | | | 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 | |
| |/ | ||||||
| * | require latest futures crate | Nick Mathewson | 2021-01-15 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few more dependencies. | Nick Mathewson | 2021-01-13 | 1 | -2/+2 | |
| | | ||||||
| * | Upgrade a few dependencies. | Nick Mathewson | 2021-01-13 | 1 | -3/+3 | |
| | | ||||||
| * | cargo upgrade. | Nick Mathewson | 2020-12-30 | 1 | -2/+2 | |
| | | ||||||
| * | Basic test for tor-dirclient::util | Nick Mathewson | 2020-12-21 | 1 | -0/+25 | |
| | | ||||||
| * | upgrade to latest anyhow | Nick Mathewson | 2020-12-21 | 1 | -1/+1 | |
| | | ||||||
| * | Cargo-upgrade a few dependencies | Nick Mathewson | 2020-12-21 | 1 | -1/+1 | |
| | | ||||||
| * | Run cargo fmt | Nick Mathewson | 2020-12-17 | 1 | -1/+4 | |
| | | ||||||
| * | Merge branch 'mr_1_squashed' into main | Nick Mathewson | 2020-12-17 | 4 | -4/+47 | |
| |\ | ||||||
| | * | Fixup! issue #34: adding support for xz2 | owen66 | 2020-12-10 | 3 | -14/+16 | |
| | | | ||||||
| | * | issue #34: adding support for xz2 | owen66 | 2020-12-02 | 3 | -0/+41 | |
| | | | ||||||
| * | | 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 | |
| | | | ||||||
| * | | upgrade to require latest anyhow. | Nick Mathewson | 2020-12-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | 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 | 3 | -6/+39 | |
| | | | | | | | | | 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 | |
| | | ||||||
