Skip to content

forward CancellationToken in StreamOutputFormatter#65785

Open
mus65 wants to merge 1 commit intodotnet:mainfrom
mus65:streamoutputformatter
Open

forward CancellationToken in StreamOutputFormatter#65785
mus65 wants to merge 1 commit intodotnet:mainfrom
mus65:streamoutputformatter

Conversation

@mus65
Copy link

@mus65 mus65 commented Mar 15, 2026

Forward CancellationToken in StreamOutputFormatter

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

This forwards the cancellationToken from the HttpContext in the StreamOutputFormatter so it properly reacts to a client disconnect.

Fixes #65493

@mus65 mus65 requested a review from a team as a code owner March 15, 2026 10:27
@github-actions github-actions bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Mar 15, 2026
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 15, 2026
@dotnet-policy-service
Copy link
Contributor

Thanks for your PR, @@mus65. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StreamOutputFormatter doesn't react to client disconnect

1 participant