[ https://issues.apache.org/jira/browse/WW-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116118#comment-16116118 ]
ASF GitHub Bot commented on WW-4839: ------------------------------------ Github user asfgit closed the pull request at: https://github.com/apache/struts/pull/160 > JakartaStreamMultiPartRequest Should Honor "struts.multipart.maxSize" > --------------------------------------------------------------------- > > Key: WW-4839 > URL: https://issues.apache.org/jira/browse/WW-4839 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors, Dispatch Filter > Affects Versions: 2.5.12 > Reporter: Aaron Johnson > Priority: Minor > Fix For: 2.5.13 > > > The {{JakartaStreamMultiPartRequest}} does not honor the maximum request size > configuration in the {{struts.multipart.maxSize}} property when > [ServletRequest.getContentLength()|http://docs.oracle.com/javaee/7/api/javax/servlet/ServletRequest.html#getContentLength--] > returns -1. > Note: > [ServletRequest.getContentLengthLong()|http://docs.oracle.com/javaee/7/api/javax/servlet/ServletRequest.html#getContentLengthLong--] > is available in Servlet API 3.1. -- This message was sent by Atlassian JIRA (v6.4.14#64029)