mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-05 16:59:28 +00:00
Upgrade to Tomcat 10.1.43
Closes gh-46383
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user