java - Limiting the maximum request size in Tomcat -
working on rest service based on spring boot embedded tomcat limit size of request body http method (post, put, get, ...).
i know of maxpostsize
property of connector. property seems limit post requests. possibility imho implement javax.servlet.filter
, check value of content-length header.
is there way achieve not aware of?
you may set multipart.maxrequestsize property in application.properties. default 10mb.
Comments
Post a Comment