-
Notifications
You must be signed in to change notification settings - Fork 10.3k
HTTP/3: Fix incorrectly pooling aborted streams #35434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -514,6 +514,69 @@ public async Task GET_MultipleRequestsInSequence_ReusedState() | |||
} | |||
} | |||
|
|||
[ConditionalFact] | |||
[MsQuicSupported] | |||
public async Task StreamResponseContent_DelayAndTrailers_ClientSuccess() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Un-related unit test. IMO no harm in adding it. These tests are all quarantined.
src/Servers/Kestrel/Transport.Quic/src/Internal/QuicStreamContext.cs
Outdated
Show resolved
Hide resolved
@@ -115,8 +115,7 @@ public async Task ClientCertificate_Required_NotSent_ConnectionAborted() | |||
|
|||
// https://github.com/dotnet/runtime/issues/57246 The accept still completes even though the connection was rejected, but it's already failed. | |||
var serverContext = await connectionListener.AcceptAndAddFeatureAsync().DefaultTimeout(); | |||
qex = await Assert.ThrowsAsync<QuicException>(() => serverContext.ConnectAsync().DefaultTimeout()); | |||
Assert.Equal("Failed to open stream to peer. Error Code: INVALID_STATE", qex.Message); | |||
await Assert.ThrowsAsync<QuicException>(() => serverContext.ConnectAsync().DefaultTimeout()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the new exception?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember exactly. It was something like "Stream creation error BLAH BLAH BLAH" 😄
2cce478
to
667fc58
Compare
667fc58
to
e244296
Compare
Fixes dotnet/runtime#57608