-
- Downloads
Turn FallbackList into a real type, and store one in GuardMgr.
The guard manager is responsible for handing out the first hops of tor circuits, keeping track of their successes and failures, and remembering their states. Given that, it makes sense to store this information here. It is not yet used; I'll be fixing that in upcoming commits. Arguably, this information no longer belongs in the directory manager: I've added a todo about moving it. This commit will break compilation on its own in a couple of places; subsequent commits will fix it up.
Showing
- Cargo.lock 2 additions, 0 deletionsCargo.lock
- crates/arti-client/Cargo.toml 1 addition, 0 deletionscrates/arti-client/Cargo.toml
- crates/arti-client/src/config.rs 6 additions, 0 deletionscrates/arti-client/src/config.rs
- crates/tor-circmgr/Cargo.toml 1 addition, 0 deletionscrates/tor-circmgr/Cargo.toml
- crates/tor-circmgr/src/config.rs 2 additions, 0 deletionscrates/tor-circmgr/src/config.rs
- crates/tor-circmgr/src/lib.rs 12 additions, 7 deletionscrates/tor-circmgr/src/lib.rs
- crates/tor-circmgr/src/mgr.rs 4 additions, 2 deletionscrates/tor-circmgr/src/mgr.rs
- crates/tor-circmgr/src/path/dirpath.rs 11 additions, 13 deletionscrates/tor-circmgr/src/path/dirpath.rs
- crates/tor-circmgr/src/path/exitpath.rs 1 addition, 1 deletioncrates/tor-circmgr/src/path/exitpath.rs
- crates/tor-dirmgr/src/config.rs 17 additions, 9 deletionscrates/tor-dirmgr/src/config.rs
- crates/tor-guardmgr/src/err.rs 13 additions, 2 deletionscrates/tor-guardmgr/src/err.rs
- crates/tor-guardmgr/src/fallback.rs 4 additions, 0 deletionscrates/tor-guardmgr/src/fallback.rs
- crates/tor-guardmgr/src/fallback/set.rs 55 additions, 0 deletionscrates/tor-guardmgr/src/fallback/set.rs
- crates/tor-guardmgr/src/lib.rs 13 additions, 3 deletionscrates/tor-guardmgr/src/lib.rs
Loading
Please register or sign in to comment