-
Notifications
You must be signed in to change notification settings - Fork 10.5k
HTTP/3: Support canceling requests that aren't reading a body #36017
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
|
@Tratcher @halter73 This PR has some changes to Http3OutputProducer and Http3FrameWriter that I'd like you to take a closer look at. When the underlying QUIC stream was aborted, unexpected errors were being logged in Http3OutputProducer.ProcessDataWrites. My updates change it so that ProcessDataWrites and TimingPipeFlusher could expect ConnectionResetException. |
67fc2f8 to
66f5e26
Compare
Tratcher
left a comment
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.
It is a bit circular but I think it makes sense.
src/Servers/Kestrel/Core/src/Internal/Infrastructure/PipeWriterHelpers/TimingPipeFlusher.cs
Outdated
Show resolved
Hide resolved
Update PR feedback
2e4b1bb to
3b4cc27
Compare
QuicStream.WaitForSendCompleteAsyncAPI.IProtocolErrorCodeFeature.Errordefaults to -1 when unset.IOExceptionto app in Kestrel in more scenarios. This matches HTTP/2 behavior.Build fails because
QuicStream.WaitForSendCompleteAsyncis not available yet.