summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/util
Commit message (Expand)AuthorAgeFilesLines
* proto: Add docs for ExcessPaddingGabriela Moldovan2025-12-011-0/+1
* proto: run add_warning to update tunnel_activity.rsNick Mathewson2025-11-121-1/+1
* proto: assert that no member of InTunnelActivity needs_drop.Nick Mathewson2025-11-121-1/+15
* proto: Use a ZST-token pattern to enforce correctness for TunnelActivityNick Mathewson2025-11-122-14/+58
* tor-proto: Track information on when tunnels were last usedNick Mathewson2025-11-122-1/+187
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-0610-10/+10
* all: run cargo fmtSteven Engler2025-11-042-2/+2
* all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt`Steven Engler2025-11-043-3/+3
* tor-proto: bring back comparison chain w/ allowhashcatHitman2025-10-081-9/+14
* tor-proto: replace comparison chain with matchhashcatHitman2025-10-081-8/+9
* proto: Implement channel padding with maybenot padders.Nick Mathewson2025-10-021-5/+0
* proto: start implementing logic for padding actions.Nick Mathewson2025-10-022-1/+6
* Add a blocker to channel outbound sink.Nick Mathewson2025-10-021-0/+1
* padding: Remove post-queue blocker.Nick Mathewson2025-09-301-1/+5
* proto: Document exactly how PollAll polls its futures.Gabriela Moldovan2025-09-251-1/+11
* proto: Resolve a couple of clippy warnings in the tests.Gabriela Moldovan2025-09-251-2/+2
* proto: Add PollAll helper for driving futures in lockstep.Gabriela Moldovan2025-09-251-0/+195
* Merge branch 'expire-halfstream-cbt' into 'main'gabi-2502025-09-241-0/+17
|\
| * proto: Add new error type for cells received on non-existent streams.Gabriela Moldovan2025-09-221-0/+17
* | Merge branch 'migrate-to-waker-noop' into 'main'Jim Newsome2025-09-221-6/+4
|\ \
| * | Migrate to waker noopdisha2025-09-221-6/+4
* | | counting_policy: fix a doc link.Nick Mathewson2025-09-171-1/+1
* | | proto::util::sink_blocker: Narrow dead_code warning exception.Nick Mathewson2025-09-172-17/+6
| |/ |/|
* | Merge branch 'maybenot-validate-padding' into 'main'Nick Mathewson2025-09-151-1/+20
|\ \
| * | proto: Use a new error type for excess padding.Nick Mathewson2025-09-151-1/+20
| |/
* / proto: Only replace padding when the target will see it.Nick Mathewson2025-09-101-0/+8
|/
* Two grammar/typo fixes from @gabi-250Nick Mathewson2025-09-091-1/+1
* proto: add SometimesUnboundedSink::as_inner_mut.Nick Mathewson2025-09-091-0/+11
* SinkBlocker: Add a comment in poll_flushNick Mathewson2025-09-081-0/+2
* SometimesUnboundedSink: clarifying documentation.Nick Mathewson2025-09-081-0/+7
* proto: Make CountingPolicy constructors pub(crate).Nick Mathewson2025-09-081-3/+3
* proto: Define a new composable SinkBlocker type.Nick Mathewson2025-09-043-0/+540
* proto: Make the OutboundClientHandshake use new cell handlerDavid Goulet2025-08-201-9/+0
* proto: Implement a From<std::io::Error> for ErrorDavid Goulet2025-08-201-0/+6
* clippy: fix `clippy::duplicated_attributes` warningsSteven Engler2025-08-111-1/+0
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-078-19/+21
* Update code for Edition 2024Nick Mathewson2025-08-071-1/+1
* proto: Add the ability to enforce a maximum number of cells per hopNick Mathewson2025-07-101-1/+12
* tor-proto: add `Notify{Sender,Receiver}` channelSteven Engler2025-06-231-0/+185
* tor-proto: add `DynamicRateLimitedWriter`Steven Engler2025-06-164-2/+296
* tor-proto: fix bug in `RateLimitedWriter::poll_write`Steven Engler2025-06-082-16/+100
* tor-proto: change `wake_when_bytes_available` to `NonZero<u64>`Steven Engler2025-06-081-5/+6
* tor-proto: add additional unit test for `TokenBucket::adjust`Steven Engler2025-06-081-1/+57
* tor-proto: improve `TokenBucket::adjust`Steven Engler2025-06-081-42/+87
* tor-proto: rename `TokenBucket::last_refill` to `added_tokens_at`Steven Engler2025-06-081-18/+18
* tor-proto: return `Result` from `tokens_available_at`Steven Engler2025-06-052-32/+66
* tor-proto: change `RateLimitedWriter` logic to use user-configurable limitSteven Engler2025-06-051-16/+38
* tor-proto: change `ClaimedTokens::commit_fewer` to `reduce`Steven Engler2025-06-052-21/+14
* tor-proto: add `{TokenBucket,RateLimitedWriter}Config` typesSteven Engler2025-06-052-30/+104
* tor-proto: add token bucket test for token/duration calcSteven Engler2025-06-051-0/+64