| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Only list the supported encodings in the `Accept-Encoding` header | Nick Mathewson | 2021-04-21 | 1 | -10/+27 | |
| | | | | | Closes #113 | |||||
| * | Use stream_pair() to write a test for tor_dirclient::download | Nick Mathewson | 2021-04-21 | 1 | -0/+50 | |
| | | ||||||
| * | Add a "socketpair"-style linked-reader/writer implementation for testing | Nick Mathewson | 2021-04-21 | 3 | -1/+261 | |
| | | ||||||
| * | Make zstd and xz compression optional, but on-by-default. | Nick Mathewson | 2021-04-21 | 2 | -3/+17 | |
| | | ||||||
| * | Disable a test on OSX; see arti#111 | Nick Mathewson | 2021-04-20 | 1 | -0/+5 | |
| | | ||||||
| * | Test for tor_dirclient::read_headers | Nick Mathewson | 2021-04-20 | 1 | -0/+39 | |
| | | ||||||
| * | Tests for tor_dirclient::read_and_decompress | Nick Mathewson | 2021-04-20 | 1 | -3/+86 | |
| | | ||||||
| * | Test for tor_dirclient::read_until_limited() | Nick Mathewson | 2021-04-20 | 1 | -0/+35 | |
| | | ||||||
| * | tor-dirclient: more requests.rs tests | Nick Mathewson | 2021-04-20 | 1 | -10/+69 | |
| | | ||||||
| * | Tests for sleep_until_wallclock. | Nick Mathewson | 2021-04-20 | 1 | -6/+175 | |
| | | ||||||
| * | A little more testing for tor_rtcompat::mock::time. | Nick Mathewson | 2021-04-20 | 1 | -0/+25 | |
| | | ||||||
| * | Add support for simulating the passage of time. | Nick Mathewson | 2021-04-19 | 3 | -0/+245 | |
| | | ||||||
| * | Add "now" functions to SleepProvider. | Nick Mathewson | 2021-04-19 | 2 | -2/+16 | |
| | | ||||||
| * | rtcompat: remove an unused conversion function. | Nick Mathewson | 2021-04-19 | 1 | -5/+0 | |
| | | ||||||
| * | Simple unit tests for tor_rtcompat: at last! | Nick Mathewson | 2021-04-19 | 3 | -0/+260 | |
| | | ||||||
| * | rtcompat: mark some outputs as must-use. | Nick Mathewson | 2021-04-19 | 2 | -0/+3 | |
| | | ||||||
| * | Clarify what TlsConnector doesn't validate. | Nick Mathewson | 2021-04-19 | 3 | -7/+12 | |
| | | ||||||
| * | Flatten async_std impl module slightly. | Nick Mathewson | 2021-04-19 | 1 | -31/+30 | |
| | | ||||||
| * | Flatten tokio TcpProvider implementation a bit. | Nick Mathewson | 2021-04-19 | 1 | -64/+35 | |
| | | ||||||
| * | Add a local_addr() function for TcpListener. | Nick Mathewson | 2021-04-18 | 3 | -1/+12 | |
| | | ||||||
| * | Fix some broken rustdoc links. | Nick Mathewson | 2021-04-18 | 3 | -5/+5 | |
| | | ||||||
| * | tor_rtcompat: Documentation and cleanups | Nick Mathewson | 2021-04-17 | 5 | -71/+240 | |
| | | ||||||
| * | Remove the no-longer-needed "global runtime" code. | Nick Mathewson | 2021-04-17 | 5 | -68/+54 | |
| | | ||||||
| * | Remove some cruft in tor_rtcompat::impls | Nick Mathewson | 2021-04-17 | 2 | -27/+4 | |
| | | ||||||
| * | Remove need for async_trait in SleepProviderExt | Nick Mathewson | 2021-04-17 | 1 | -11/+42 | |
| | | ||||||
| * | Move timer functions into an extension trait. | Nick Mathewson | 2021-04-17 | 10 | -143/+136 | |
| | | ||||||
| * | Move around the public modules in tor_rtcompat. | Nick Mathewson | 2021-04-17 | 14 | -15/+22 | |
| | | ||||||
| * | Remove all non-runtime methods in tor_rtcompat. | Nick Mathewson | 2021-04-16 | 11 | -89/+132 | |
| | | ||||||
| * | Add a "Runtime" parameter to all the manager types. | Nick Mathewson | 2021-04-16 | 12 | -58/+105 | |
| | | | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly. | |||||
| * | rtcompat: Make TLS functionality use Runtime traits. | Nick Mathewson | 2021-04-16 | 10 | -74/+108 | |
| | | | | | | Now there is nothing in principle that you couldn't access from a Runtime implementation. | |||||
| * | Move the "sleep()" function from task to timer. | Nick Mathewson | 2021-04-16 | 2 | -11/+9 | |
| | | ||||||
| * | Make incoming Streams of TcpStream a real type for each backend. | Nick Mathewson | 2021-04-16 | 5 | -44/+92 | |
| | | | | | | This makes things a little more complicated for AsyncStd, and a little simpler for Tokio. | |||||
| * | Port tor_rtcompat::net to use Runtime objects. | Nick Mathewson | 2021-04-16 | 3 | -26/+56 | |
| | | ||||||
| * | Port tor_rtcompat::timer to use Runtime objects. | Nick Mathewson | 2021-04-16 | 3 | -29/+60 | |
| | | ||||||
| * | Begin a refactoring of tor-rtcompat to use runtime objects. | Nick Mathewson | 2021-04-16 | 5 | -27/+187 | |
| | | | | | | | | | So far, all traits are defined (I hope) and the task api is ported. With time I want to have none of the current "global runtime" APIs exposed, and just use Runtime objects instead. But that isn't just yet. | |||||
| * | rtcompat: rename traits module to impl_traits. | Nick Mathewson | 2021-04-16 | 2 | -2/+2 | |
| | | ||||||
| * | upgrade dalek dependencies | Nick Mathewson | 2021-04-14 | 1 | -2/+2 | |
| | | ||||||
| * | Fix a compilation problem with async_std. | Nick Mathewson | 2021-04-13 | 1 | -1/+1 | |
| | | | | | Thank you, CI! | |||||
| * | Replace tor-decompress with async-compression crate. | Nick Mathewson | 2021-04-13 | 7 | -439/+50 | |
| | | | | | This lets us simplify tor-dirclient a fair bit. Closes #79. | |||||
| * | tor-dirclient: Use AsyncBufRead to simplify code a bit. | Nick Mathewson | 2021-04-13 | 2 | -29/+63 | |
| | | | | | | | | | | | | Previously we read too much data from our input, and then used the unused portion as an initial state of a buffer for handling subsequent data. Yuck! Instead we can just use an AsyncBufRead and only read the parts we want. This code takes some pains to never read too much data: I'd rather just "read until the first CRLF" or have some kind of pushback mechanism. But for now it's probably fine. | |||||
| * | Merge branch 'dirstate' | Nick Mathewson | 2021-04-13 | 11 | -1154/+1449 | |
| |\ | ||||||
| | * | Major revision on DirMgr logic -- almost a complete rewrite. | Nick Mathewson | 2021-04-13 | 10 | -1139/+1298 | |
| | | | | | | | | | | | | | | | | | The big idea of this revision is to separate the code that knows about doing downloads from the code that decides what to download. Later, we can make a similar change for database access. With these changes together, we can make our code much more testable, and eventually enable more download types in parallel. | |||||
| | * | DocQuery: sort requests before splitting. | Nick Mathewson | 2021-04-09 | 1 | -4/+13 | |
| | | | ||||||
| | * | Start moving responsibility for building requests into dirmgr | Nick Mathewson | 2021-04-09 | 4 | -40/+167 | |
| | | | | | | | | | This will help with my planned "directory state" refactoring. | |||||
| * | | Remove fallback_caches.toml, which is no longer in sync | Nick Mathewson | 2021-04-13 | 2 | -747/+0 | |
| | | | ||||||
| * | | Merge remote-tracking branch 'origin/mr/30' | Nick Mathewson | 2021-04-13 | 1 | -410/+1374 | |
| |\ \ | ||||||
| | * | | fallbackdir: New list from April 2021 | David Goulet | 2021-04-12 | 1 | -410/+1374 | |
| | |/ | | | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * / | circmgr: Add missing rng trait to build_path() | David Goulet | 2021-04-09 | 1 | -1/+4 | |
| |/ | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | rtcompat: Add a cancellable-task-handle type. | Nick Mathewson | 2021-04-09 | 2 | -4/+24 | |
| | | | | | | | | The API is a bit yucky, since it has to be compatible with tokio and async_std. (Also, this patch fixes some async_std clippy warnings) | |||||
| * | Merge branch 'mr_28_squashed' | Nick Mathewson | 2021-04-07 | 3 | -0/+31 | |
| |\ | ||||||
