Skip to content

tokio-quiche: Improve handling of waiting streams - #2808

Merged
ghedo merged 1 commit into
cloudflare:masterfrom
gregor-cf:gregor/tokio-quiche-improve-handling-of-waiting-streams
Oct 8, 2026
Merged

ghedo merged 1 commit into
cloudflare:masterfrom
gregor-cf:gregor/tokio-quiche-improve-handling-of-waiting-streams

Conversation

@gregor-cf

Copy link
Copy Markdown
Contributor

No description provided.

@gregor-cf
gregor-cf requested a review from a team as a code owner October 6, 2026 17:44
@gregor-cf
gregor-cf force-pushed the gregor/tokio-quiche-improve-handling-of-waiting-streams branch from 008dcd6 to 2dcb302 Compare October 6, 2026 17:45
@ghedo

ghedo commented Oct 7, 2026

Copy link
Copy Markdown
Member

/bonk

Comment thread tokio-quiche/src/http3/driver/waiting_streams.rs
Comment thread tokio-quiche/src/http3/driver/mod.rs
@ask-bonk

ask-bonk Bot commented Oct 7, 2026

Copy link
Copy Markdown

Review: 2 findings.

The PR adds keyed, direction-aware waiting-stream tracking and updates cancellation tests. Two inline correctness comments were submitted; no additional security or style issues found.

github run

Comment thread tokio-quiche/src/http3/driver/tests.rs
@gregor-cf
gregor-cf requested review from ghedo and jrouviere October 7, 2026 17:30
Comment thread tokio-quiche/src/http3/driver/tests.rs Outdated
Comment thread tokio-quiche/src/http3/driver/waiting_streams.rs
Comment thread tokio-quiche/src/http3/driver/waiting_streams.rs
Comment thread tokio-quiche/src/http3/driver/streams.rs Outdated
Comment thread tokio-quiche/src/http3/driver/waiting_streams.rs
@gregor-cf
gregor-cf force-pushed the gregor/tokio-quiche-improve-handling-of-waiting-streams branch from 2dcb302 to 97d1299 Compare October 8, 2026 16:16
@ghedo
ghedo merged commit 3427022 into cloudflare:master Oct 8, 2026
36 of 48 checks passed
stream_id, direction
);
debug_assert!(false, "{}", msg);
log::error!(ratelimit=60/m; "{}", msg);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ratelimit syntax was only added in foundations v5.6.0 while the Cargo.toml still permits foundations v4. This breaks cargo test when foundations v4.4.2 is installed.

@TheJokr @fisherdarling how important is foundations v4 compat?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants