Chenjp commented on PR #823:
URL: https://github.com/apache/tomcat/pull/823#issuecomment-2647885063

   > The feedback was that this serves no purpose. I believe it is correct.
   > 
   > For processing of POST and some others like that, processing takes memory. 
Also we do not know what the app will do with the data. Hence limiting could be 
important and it justifies having some setting.
   > 
   > But PUT in the DefaultServlet is not the same. Let's say a security 
conscious user such as you already disabled partial PUT. A malicious user can 
then write the same amount of data on the server storage using a trivial 
increase of the amount of input even if your setting is in place. The main 
difference would be using separate HTTP requests. So then you would be expected 
to catch that pattern using some kind of extra protection (where it would also 
be possible to check the request length) ?
   > 
   > As a result, adding this setting still does not make sense to me.
   
   Rate limiter filter, or WAF can detect and block those requests.


-- 
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: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to