aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/util/sink_blocker
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-092-0/+2
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-062-2/+2
| | | | Run maint/add_warning
* proto: start implementing logic for padding actions.Nick Mathewson2025-10-021-0/+5
|
* counting_policy: fix a doc link.Nick Mathewson2025-09-171-1/+1
|
* proto::util::sink_blocker: Narrow dead_code warning exception.Nick Mathewson2025-09-171-1/+1
|
* proto: Make CountingPolicy constructors pub(crate).Nick Mathewson2025-09-081-3/+3
|
* proto: Define a new composable SinkBlocker type.Nick Mathewson2025-09-042-0/+265
This type wraps a futures::Sink, and allows it to be temporarily blocked and unblocked. I'm going to use this to implement padding-based circuit blocking, according to the designs in !3225.