- May 24, 2022
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This change requires a little refactoring of TorClientBuilder: now, instead of enabling or disabling mistrust, it enables or disables the decision to _override_ the mistrust in the config.
-
Nick Mathewson authored
We support all of the following (in TOML notation): ``` user = "rose" # by name user = 413 # by ID user = false # no user user = ":current" # A 'special' user. user = { name: "rose" } user = { id: 413 } user = { special: ":none" } user = { special: ":current" } ```
-
Nick Mathewson authored
The Group and User (de)serialization is pretty ugly, and I can't vouch for the correcness of MistrustBuilder. I will seek feedback before I proceed.
-
Nick Mathewson authored
This will help make the actual configuration more serializable, I hope.
-
Nick Mathewson authored
This is an approximately minimal revision to get Builder in place; subsequent commits will clean up the API.
-
Nick Mathewson authored
This renaming will make things slightly simpler for declaring a builder.
-
Ian Jackson authored
Update to newer sanitize-filename and tinystr. See merge request tpo/core/arti!523
-
Ian Jackson authored
Make clippy +nightly pass again See merge request tpo/core/arti!522
-
- May 23, 2022
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
-
Nick Mathewson authored
It's a little overzealous sometimes, but it's mostly to the good.
-
Nick Mathewson authored
These are warnings that we've decided it's okay to suppress elsewhere.
-
Nick Mathewson authored
Remove dbg!()s in tor-config, and fix nightly CI See merge request tpo/core/arti!516
-
eta authored
async-compression minimum version 0.3.5 -> 0.3.14 Closes #473 See merge request tpo/core/arti!521
-
eta authored
add unit tests for arti_client::StreamPrefs See merge request tpo/core/arti!520
-
Jim Newsome authored
0.3.14 is the first released version to include https://github.com/Nemo157/async-compression/commit/e7246738762de34bbb820662c3923f8f2610ac95, which fixes tpo/core/arti#473
-
elmiko authored
this change adds unit tests for the public methods of StreamPrefs. although these are mostly "setter" style functions, the tests confirm the basic expectations and operation.
-
Ian Jackson authored
channel: Provide and use Sink::prepare_send_from See merge request tpo/core/arti!514
-
Ian Jackson authored
-
Ian Jackson authored
-
Ian Jackson authored
I think this is worse code, but it's not *significantly* worse.
-
Ian Jackson authored
I intend to reintroduce this in its own MR.
-
Ian Jackson authored
-
Ian Jackson authored
So we can change unwrap to expect, which makes this too long to repeat.
-
Ian Jackson authored
Apropos review.
-
Ian Jackson authored
When I added these tests, they didn't find any bugs in my own implementation, but I did find a bug in futures::future::unfold. See the in-code comment.
-
Ian Jackson authored
This is a general-purpose implementation of the ad-hoc approach currently taken in (eg) crates/tor-proto/src/channel/reactor.rs, with an API intended to defned against the more obvious mistakes. This allows us to separate the two concerns: the channel reactor can focus on handling channel cells and control messages and is over 2.5x shorter. The complexity of the manual sink implementation, and the machinery needed to avoid having to suspend while holding an item, are dealt with separately. That separate implemenation now has proper documentation. (Tests are in the nest commit to avoid this one being even more unwieldy.) We use `extend` to define this as an extension trait. A competitor is `ext` but in my personal projects I have found `extend` slightly better.
-
eta authored
see https://gitlab.com/gitlab-org/gitlab/-/issues/344533
-
eta authored
async-compression v0.3.12 -> v0.3.14 Closes #473 See merge request tpo/core/arti!517
-
- May 20, 2022
-
-
Jim Newsome authored
This is to pick up https://github.com/Nemo157/async-compression/pull/148#issuecomment-1128862482 Fixes tpo/core/arti#473
-
Nick Mathewson authored
-
Nick Mathewson authored
This should satisfy our CI and turn it green again.
-
- May 19, 2022
-
-
eta authored
DirMgr: Revise error handling to better tolerate reset-able failures Closes #412 and #439 See merge request tpo/core/arti!511
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
It does nothing that Fatal does not. Suggested by @eta in review.
-
- May 17, 2022
-
-
Nick Mathewson authored
-