spring-framework/spring-web
Brian Clozel 0ca393c0dc Restrict memory allocation in ContentCachingRequestWrapper
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
2024-06-10 09:46:01 +02:00
..
src Restrict memory allocation in ContentCachingRequestWrapper 2024-06-10 09:46:01 +02:00
spring-web.gradle Fix ordering of releasing resources in JSON Encoder 2023-11-22 18:21:06 +01:00