Skip to content

Conversation

@Tratcher
Copy link
Member

@Tratcher Tratcher commented Sep 27, 2021

Fixes #36960
Backport of #37022

Description

Applications that add the response compression middleware and call the DisableBuffering API are seeing responses compressed that should not have been, and in a way that the client is not able to decompress them (missing headers, appears as data corruption).

Customer Impact

dotnet-monitor is blocked from upgrading to 6.0 due to these responses that appear corrupted.

Regression?

  • Yes
  • No

From 5.0

Risk

  • High
  • Medium
  • Low

This middleware is opt-in, and the DisableBuffering API is uncommon. Unit test coverage has been added for this negative case.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@Tratcher Tratcher added this to the 6.0.0 milestone Sep 27, 2021
@Tratcher Tratcher self-assigned this Sep 27, 2021
@ghost ghost added the area-runtime label Sep 27, 2021
@Tratcher Tratcher added the Servicing-consider Shiproom approval is required for the issue label Sep 27, 2021
@ghost
Copy link

ghost commented Sep 27, 2021

Hi @Tratcher. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PR click here.

@Tratcher Tratcher marked this pull request as ready for review September 27, 2021 23:19
@adityamandaleeka adityamandaleeka added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Sep 28, 2021
@ghost ghost removed the Servicing-consider Shiproom approval is required for the issue label Sep 28, 2021
@Tratcher
Copy link
Member Author

@dotnet/aspnet-build merge please.

@dougbu dougbu merged commit 5ab275f into dotnet:release/6.0 Sep 28, 2021
@Tratcher Tratcher deleted the tratcher/6.0/compress branch September 28, 2021 16:37
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants