You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/06/28 02:54:49 UTC

(grails-core) branch tomcat-multipart-form-data created (now a66a74b328)

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a change to branch tomcat-multipart-form-data
in repository https://gitbox.apache.org/repos/asf/grails-core.git


      at a66a74b328 Tomcat 10.1.42 introduced limits for part count and header size in multipart/form-data requests

This branch includes the following new commits:

     new a66a74b328 Tomcat 10.1.42 introduced limits for part count and header size in multipart/form-data requests

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-core) 01/01: Tomcat 10.1.42 introduced limits for part count and header size in multipart/form-data requests

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch tomcat-multipart-form-data
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit a66a74b3280c57b16e97483899b35f8ce0977810
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Fri Jun 27 22:54:46 2025 -0400

    Tomcat 10.1.42 introduced limits for part count and header size in multipart/form-data requests
---
 grails-doc/src/en/guide/upgrading/upgrading60x.adoc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/grails-doc/src/en/guide/upgrading/upgrading60x.adoc b/grails-doc/src/en/guide/upgrading/upgrading60x.adoc
index a29a65d4bd..9ca222f363 100644
--- a/grails-doc/src/en/guide/upgrading/upgrading60x.adoc
+++ b/grails-doc/src/en/guide/upgrading/upgrading60x.adoc
@@ -312,3 +312,12 @@ Once a compatible container runtime is installed, no additional configuration is
 2. The container will be configured to launch a browser capable of accessing your application under test.
 
 With this setup, you gain the benefits of containerized testing, such as isolation, reproducibility, and reduced setup complexity.
+
+===== 12.10 Tomcat 10.1.42 introduced limits for part count and header size in multipart/form-data requests
+
+These limits can be customized using `server.tomcat.max-part-count` and `server.tomcat.max-part-header-size` respectively.
+
+`server.tomcat.max-part-count` default is 10
+`server.tomcat.max-part-header-size` defalt is 512B
+
+https://docs.spring.io/spring-boot/appendix/application-properties/index.html#application-properties.server.server.tomcat.max-part-count[Spring Boot Common Application Properties]