mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
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