arti/crates/tor-circmgr/src
Nick Mathewson f15cde80de Use better reporting for guard status.
The previous code would report all failures to build a circuit as
failures of the guard.  But of course that's not right:  If we
fail to extend to the second or third hop, that might or might not
be the guard's fault.

Now we use the "pending status" feature of the GuardMonitor type so
that an early failure is attributed to the guard, but a later
failure is attributed as "Indeterminate".  Only a complete circuit
is called a success.  We use a new "GuardStatusHandle" type here so
that we can report the status early if there is a timeout.
2021-10-13 11:24:37 -04:00
..
build Use better reporting for guard status. 2021-10-13 11:24:37 -04:00
mgr fix/silence clippy lints in test modules 2021-09-08 17:28:31 +02:00
path Implement guards for multihop paths. 2021-10-13 10:27:46 -04:00
timeouts enable checked_conversions lint. 2021-10-09 16:53:13 -04:00
build.rs Use better reporting for guard status. 2021-10-13 11:24:37 -04:00
config.rs Re-export configuration types from tor-client. 2021-10-09 17:30:06 -04:00
err.rs Actually select guards for directory circuits. 2021-10-13 09:30:50 -04:00
impls.rs Use better reporting for guard status. 2021-10-13 11:24:37 -04:00
lib.rs Pass the guard manager down to the path selection functions. 2021-10-11 15:59:45 -04:00
mgr.rs Do not use set_ prefix on derive_builder setters 2021-09-16 08:41:04 +03:00
path.rs fix/silence clippy lints in test modules 2021-09-08 17:28:31 +02:00
timeouts.rs Move all crates into a `crates` subdirectory. 2021-08-27 09:53:09 -04:00
usage.rs Implement guards for multihop paths. 2021-10-13 10:27:46 -04:00