Skip to content

Commit 3ad232d

Browse files
committed
Upgrade to Tomcat 10.1.43
Closes gh-46383
1 parent 5b30255 commit 3ad232d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ nativeBuildToolsVersion=0.10.6
2121
snakeYamlVersion=2.4
2222
springFrameworkVersion=6.2.9-SNAPSHOT
2323
springFramework60xVersion=6.0.23
24-
tomcatVersion=10.1.42
24+
tomcatVersion=10.1.43
2525

2626
kotlin.stdlib.default.dependency=false

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ public static class Tomcat {
424424
* Requests that exceed this limit will be rejected. A value of less than 0 means
425425
* no limit.
426426
*/
427-
private int maxPartCount = 10;
427+
private int maxPartCount = 50;
428428

429429
/**
430430
* Maximum amount of request body to swallow.

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/TomcatWebServerFactoryCustomizerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void customMaxHttpFormPostSize() {
184184
@Test
185185
void defaultMaxPartCount() {
186186
customizeAndRunServer(
187-
(server) -> assertThat(server.getTomcat().getConnector().getMaxPartCount()).isEqualTo(10));
187+
(server) -> assertThat(server.getTomcat().getConnector().getMaxPartCount()).isEqualTo(50));
188188
}
189189

190190
@Test

0 commit comments

Comments
 (0)