Repository navigation
[release/11.0] Keep QUIC backlog test clients alive through server handshakes - #137890
Merged
Merged
Conversation
<!-- --> The parallel listener-backlog test disposes each successful client before accepting the server-side connections. Client handshake completion does not guarantee that the server has received the client's Finished message. Early disposal can therefore terminate a pending server handshake, causing `AcceptConnectionAsync` to throw `AuthenticationException` with `UserCanceled`. Keep successful clients alive until all pending server connections are accepted and the assertions finish, then dispose them in `finally`. This changes only test lifetime management; the exact backlog/refusal counts and accept-cancellation assertions remain unchanged. No product changes, additional skips, or timeout increases. ### Evidence and validation A controlled loopback UDP-loss reproduction using official .NET 11 and the same MsQuic OpenSSL 2.6.3 version as the failing CI run failed **8/10** times with the original lifetime and passed **100/100** times with retained clients. Tracing shows the client connecting and disposing before server handshake completion; the server receives transport `APPLICATION_ERROR` (11), which MsQuic maps to `UserCanceled`. This reproduces the failure mechanism and stack, not the exact AzureLinux CI occurrence. - `build.cmd clr+libs -rc release`: passed, no warnings or errors. - Normal and outerloop parallel-backlog cases: **12/12 passed** on both Schannel and OpenSSL. - Full QUIC functional suite on Windows: Schannel **448 passed, 1 existing platform skip**; OpenSSL **446 passed, 3 existing platform/backend skips**. Both had zero failures, errors, or unobserved exceptions. Resolves #133515 > [!NOTE] > This pull request description and code change were generated with GitHub Copilot. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @karelz, @dotnet/ncl |
This was referenced Nov 19, 2026
wfurt
approved these changes
Nov 19, 2026
Member
|
/ba-g unrelated |
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 #136507 to release/11.0
/cc @ManickaP @rzikm
Fixes #136558
Customer Impact
Regression
Testing
CI
Risk
Low. Test only change, Tell Mode.