Skip to content

Conversation

@BrennanConroy
Copy link
Member

Http2FrameWriter has a background task that reads from a channel, if the background task isn't actively reading from the channel, then the context.Response.CompleteAsync() call will not run the async continuation inline and race with the channel read loop and the context.Features.Get<IHttpResponseTrailersFeature>().Trailers.IsReadOnly check.

Copilot AI review requested due to automatic review settings February 19, 2025 00:24
@ghost ghost added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Feb 19, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

@BrennanConroy BrennanConroy merged commit 7a49588 into main Feb 19, 2025
24 of 27 checks passed
@BrennanConroy BrennanConroy deleted the BrennanConroy-patch-3 branch February 19, 2025 04:43
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview2 milestone Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants