Skip to content

transport: advertise MaxIncomingStreams via zquic ServerConfig (finish #65) - #76

Merged
ch4r10t33r merged 1 commit into
mainfrom
feat/finish-stream-limit-65
Jul 5, 2026
Merged

transport: advertise MaxIncomingStreams via zquic ServerConfig (finish #65)#76
ch4r10t33r merged 1 commit into
mainfrom
feat/finish-stream-limit-65

Conversation

@ch4r10t33r

Copy link
Copy Markdown
Collaborator

Completes the plumbing started in #65. Previously the EthEcQuicConfig.max_incoming_* limits reached the shim's QuicConfig but had nowhere to go — zquic's io.ServerConfig had no numeric incoming-stream field.

zquic v1.7.67 (ch4r10t33r/zquic#238) added ServerConfig.max_incoming_streams / max_incoming_uni_streams. This PR:

  • bumps the zquic dependency v1.7.66 → v1.7.67, and
  • passes the shim's QuicConfig limits into both io.ServerConfig build sites (endpointInit and endpointInitFromFd).

The EthEcQuicConfig 16384-stream default is now actually advertised as initial_max_streams_{bidi,uni} in the server's transport parameters, so a peer may open our configured number of per-chunk QUIC streams instead of the preset default (1000).

Verification

zig fmt --check, zig build test, zig build test-quic pass on stock Zig 0.16.0. (The end-to-end "client parses the advertised limit" assertion lives in the zquic loopback test added in zigstack/zquic#238.) README updated to reflect the full path.

Note: the zquic v1.7.67 release also carries the fix for the resumption/zerortt interop regression (ch4r10t33r/zquic#239).

…#65)

Bumps zquic to v1.7.67 (which adds `io.ServerConfig.max_incoming_streams` /
`max_incoming_uni_streams`) and wires the shim's `QuicConfig` incoming-stream
limits into both `io.ServerConfig` build sites. The `EthEcQuicConfig`
16384-stream limit is now actually advertised as `initial_max_streams_
{bidi,uni}` in the server's transport parameters, so a peer may open our
configured number of per-chunk streams instead of the preset default (1000)
— completing the plumbing started in #65 (values previously reached the shim
but had nowhere to go).
@ch4r10t33r
ch4r10t33r merged commit 1a892a1 into main Jul 5, 2026
7 checks passed
@ch4r10t33r
ch4r10t33r deleted the feat/finish-stream-limit-65 branch July 5, 2026 18:13
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.

1 participant