aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/util/sink_blocker.rs
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | 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 word duplicate typosTobias Stoeckmann2026-03-151-1/+1
|
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* proto: Implement channel padding with maybenot padders.Nick Mathewson2025-10-021-5/+0
| | | | With this commit we now actually generate padding when we're told to.
* proto: start implementing logic for padding actions.Nick Mathewson2025-10-021-1/+1
|
* Add a blocker to channel outbound sink.Nick Mathewson2025-10-021-0/+1
|
* padding: Remove post-queue blocker.Nick Mathewson2025-09-301-1/+5
| | | | | | | We no longer want to _ever_ block non-DATA cells, per discussion in circuit-padding.md. Closes #2190.
* proto::util::sink_blocker: Narrow dead_code warning exception.Nick Mathewson2025-09-171-16/+5
|
* Two grammar/typo fixes from @gabi-250Nick Mathewson2025-09-091-1/+1
|
* SinkBlocker: Add a comment in poll_flushNick Mathewson2025-09-081-0/+2
|
* proto: Define a new composable SinkBlocker type.Nick Mathewson2025-09-041-0/+275
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.