yu199195 commented on code in PR #4507:
URL: https://github.com/apache/shenyu/pull/4507#discussion_r1150256559


##########
shenyu-web/src/main/java/org/apache/shenyu/web/filter/FileSizeFilter.java:
##########
@@ -56,7 +57,7 @@ public class FileSizeFilter implements WebFilter {
     private final List<HttpMessageReader<?>> messageReaders;
 
     public FileSizeFilter(final int fileMaxSize) {
-        HandlerStrategies handlerStrategies = 
HandlerStrategies.builder().codecs(configurer -> 
configurer.defaultCodecs().maxInMemorySize(fileMaxSize * BYTES_PER_MB)).build();
+        HandlerStrategies handlerStrategies = 
HandlerStrategies.builder().codecs(configurer -> 
configurer.defaultCodecs().maxInMemorySize(-1)).build();

Review Comment:
   why modify -1 ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to