Upgrade to Tomcat 10.1.43

Closes gh-46383
This commit is contained in:
Stéphane Nicoll
2025-07-10 07:51:29 +02:00
parent 5b30255d1c
commit 3ad232dea0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ nativeBuildToolsVersion=0.10.6
snakeYamlVersion=2.4
springFrameworkVersion=6.2.9-SNAPSHOT
springFramework60xVersion=6.0.23
tomcatVersion=10.1.42
tomcatVersion=10.1.43
kotlin.stdlib.default.dependency=false
@@ -424,7 +424,7 @@ public class ServerProperties {
* Requests that exceed this limit will be rejected. A value of less than 0 means
* no limit.
*/
private int maxPartCount = 10;
private int maxPartCount = 50;
/**
* Maximum amount of request body to swallow.
@@ -184,7 +184,7 @@ class TomcatWebServerFactoryCustomizerTests {
@Test
void defaultMaxPartCount() {
customizeAndRunServer(
(server) -> assertThat(server.getTomcat().getConnector().getMaxPartCount()).isEqualTo(10));
(server) -> assertThat(server.getTomcat().getConnector().getMaxPartCount()).isEqualTo(50));
}
@Test