https://bz.apache.org/bugzilla/show_bug.cgi?id=69710

            Bug ID: 69710
           Summary: FileCountLimitExceededException is thrown in version
                    11.0.8
           Product: Tomcat 11
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: aleksandr.belia...@nowina.lu
  Target Milestone: -------

Hello,

After upgrading to Tomcat 11.0.8, we experience an issue with one of our
website forms, as on submit Tomcat throws
org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException
exception:

Caused by:
org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException:
attachment
        at
org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:459)
        at org.apache.catalina.connector.Request.parseParts(Request.java:2551)

The issue seems to be introduced within the commit
https://github.com/apache/tomcat/commit/e34fe96ef8ee782b0e56b64358e8dc57cbe336a6,
which sets upload.fileCountMax parameter to the value of a new introduced
maxPartCount parameter, which is set to 10 by default.

Before, the value of maxParameterCount was used, which was set to 1000.

We do not think the reduction of 100 times is appropriate in this use case, as
the value of "10" limits very common scenarious. We would prefer to have the
value increased to at least "100".

The problem for us is also that we do not use an embedded tomcat and we deliver
only a spring-boot WAR file, thus it is impossible for us to configure the
behavior on our side.

Therefore, could you please increase the default value for the constraint to
100?

Same issue is present in Tomcat 10.1.42.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to