mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
df198987e0
Prior to this commit the `ContentCachingRequestWrapper(HttpServletRequest)` constructor was deprecated; this variant caches by default an unlimited amount of data. The replacement `ContentCachingRequestWrapper(HttpServletRequest, int)` allows such behavior in 7.0 but that change has not been bacported to 6.2.x. This commit ensures that the replacement constructor can be safely used in 6.2.x, preparing for the 7.0.x upgrade. Fixes gh-36620