Skip to content

Add support for waitUntilAvailable#3474

Open
jesup wants to merge 1 commit intousers/jesup/anticipated_streamsfrom
users/jesup/waitUntilAvailable
Open

Add support for waitUntilAvailable#3474
jesup wants to merge 1 commit intousers/jesup/anticipated_streamsfrom
users/jesup/waitUntilAvailable

Conversation

@jesup
Copy link
Copy Markdown
Member

@jesup jesup commented Mar 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 16, 2026 04:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Http3ClientEvent::StreamCreatable event to neqo-http3, which surfaces the transport-layer SendStreamCreatable event with stream type information. This supports the waitUntilAvailable WebTransport API by signaling when stream quota becomes available.

Changes:

  • Added StreamCreatable { stream_type } variant to Http3ClientEvent and the corresponding event emission method
  • Wired ConnectionEvent::SendStreamCreatable to emit the new event alongside the existing RequestsCreatable
  • Added two integration tests verifying the event fires on connect and on MAX_STREAMS replenishment

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
neqo-http3/src/client_events.rs New StreamCreatable event variant and stream_creatable() emission method
neqo-http3/src/connection_client.rs Emit StreamCreatable on SendStreamCreatable transport event; updated doc comment
neqo-http3/tests/webtransport.rs Two new tests for StreamCreatable during handshake and MAX_STREAMS
neqo-http3/tests/classic_connect.rs Allow StreamCreatable in the expected-events filter

Comment thread neqo-http3/src/client_events.rs Outdated
Comment thread neqo-http3/src/client_events.rs Outdated
Comment thread neqo-http3/src/connection_client.rs Outdated
@larseggert larseggert added the needs-rebase PR needs rebasing before it can be merged. label Apr 8, 2026
@jesup jesup force-pushed the users/jesup/anticipated_streams branch from 225f726 to 3dba9cd Compare May 1, 2026 16:19
@jesup
Copy link
Copy Markdown
Member Author

jesup commented May 1, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Failed Interop Tests

None ❓

All results

Succeeded Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

None ❓

neqo-pr as server

None ❓

Unsupported Interop Tests

QUIC Interop Runner, client vs. server

neqo-pr as client

None ❓

neqo-pr as server

None ❓

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

Labels

needs-rebase PR needs rebasing before it can be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants