Repository navigation
[release/11.0] Stabilize HTTP/2 stream pooling test - #70489
Merged
Merged
Conversation
Backport of #70281. (cherry picked from commit 51ed718) Co-authored-by: BrennanConroy <[email protected]> Co-authored-by: Copilot <[email protected]>
wtgodbe
requested review from
BrennanConroy,
SamMonoRT and
halter73
as code owners
November 10, 2026 23:23
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The missing pinned SDK blocked Interop execution, leaving timing-sensitive HTTP/2 and HTTP/3 pooling stabilization unverified pending CI execution.
No open issues 🎉
What changed in this PR
This backport stabilizes Kestrel’s HTTP/2 stream-pooling test on release/11.0 by waiting for server-side pooling before sending the second request, matching the existing HTTP/3 synchronization.
Changes:
- Add an HTTP/2 trace event emitted after a stream enters the pool.
- Wait for the protocol-specific pooling event while preserving quarantine and reference-reuse assertions.
- Replace fixed retry counts with polling bounded by the existing default timeout when no debugger is attached.
Full integration validation remains dependent on CI because the pinned SDK was unavailable locally.
| File | Description |
|---|---|
src/Servers/Kestrel/test/Interop.FunctionalTests/Http3/Http3RequestTests.cs |
Wait for HTTP/2 pooling and use timeout-based log polling. |
src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelTrace.Http2.cs |
Define the Http2StreamPooled trace event. |
src/Servers/Kestrel/Core/src/Internal/Http2/Http2Connection.cs |
Emit the trace event after pooling a stream. |
Review effort: Balanced
Member
|
/review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #70281 to
release/11.0.Wait for the first HTTP/2 stream to enter the server pool before sending the second request, matching the existing HTTP/3 synchronization. Add the trace event used by that wait and poll within the existing default timeout. Preserve the quarantine and reference-reuse assertions.
The thirty-day PR audit found a release/11.0 failure of
POST_MultipleRequests_PooledStreamAndHeaders. This is distinct from the QUIC stream-context reuse assertion and from the product HTTP/2 hang backport in #70099.Validation:
git diff --checkverified.11.0.100-rc.3.26522.148; integration validation requires CI.