Skip to content

Fix Http3LoopbackServer sending GOAWAY cancelling completed request/response. - #101447

Merged
rzikm merged 2 commits into
dotnet:mainfrom
rzikm:ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream
Apr 24, 2024
Merged

Fix Http3LoopbackServer sending GOAWAY cancelling completed request/response.#101447
rzikm merged 2 commits into
dotnet:mainfrom
rzikm:ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream

Conversation

@rzikm

@rzikm rzikm commented Apr 23, 2024

Copy link
Copy Markdown
Member

Failure scenario: server is fast, the AcceptConnectionAsync processes faster than client can receive the response. Server code then calls SendResponseBodyAsync(final: true) which disposes of the stream and bumps down _currentStreamId, Following GOAWAY frame has first rejected stream id equal to 0, which fails HttpClient. Client then retries the request but the server is not serving anymore and test times out.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@rzikm rzikm changed the title Fix failing ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream for Http3 Apr 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

3 participants