mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
0ca393c0dc
Prior to this commit, the `ContentCachingRequestWrapper` could allocate a `FastByteArrayOutputStream` block that was larger than the content cache limit given as a consturctor argument. This was due to an optimization applied in gh-31834 for allocating the right content cache size when the request size is known. Fixes gh-32987