Skip to content

InvalidOperationException when decompressed data exceeds request body size limit#61812

Merged
BrennanConroy merged 3 commits into
dotnet:mainfrom
feiyun0112:issues/61723
May 12, 2025
Merged

InvalidOperationException when decompressed data exceeds request body size limit#61812
BrennanConroy merged 3 commits into
dotnet:mainfrom
feiyun0112:issues/61723

Conversation

@feiyun0112
Copy link
Copy Markdown
Contributor

fix #61723

@feiyun0112 feiyun0112 requested a review from BrennanConroy as a code owner May 6, 2025 13:19
@ghost ghost added the area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares label May 6, 2025
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label May 6, 2025
Comment thread src/Shared/SizeLimitedStream.cs
Comment thread src/Middleware/RequestDecompression/src/RequestDecompressionMiddleware.cs Outdated
…ddleware.cs

Co-authored-by: mus65 <marius.thesing@gmail.com>
Comment thread src/Shared/SizeLimitedStream.cs Outdated
Comment thread src/Middleware/RequestDecompression/src/RequestDecompressionMiddleware.cs Outdated
@BrennanConroy BrennanConroy enabled auto-merge (squash) May 12, 2025 17:41
@BrennanConroy BrennanConroy merged commit 7e446c6 into dotnet:main May 12, 2025
27 checks passed
@dotnet-policy-service dotnet-policy-service Bot added this to the 10.0-preview5 milestone May 12, 2025
@BrennanConroy
Copy link
Copy Markdown
Member

Thanks for the fix @feiyun0112 !

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 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.

InvalidOperationException when decompressed data exceeds request body size limit

4 participants