Skip to content

Commit fa03f75

Browse files
committed
Upgrade to Undertow 2.2.0.Final
Closes gh-23367
1 parent 777a4e9 commit fa03f75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ bom {
17221722
]
17231723
}
17241724
}
1725-
library("Undertow", "2.1.3.Final") {
1725+
library("Undertow", "2.2.0.Final") {
17261726
group("io.undertow") {
17271727
modules = [
17281728
"undertow-core",

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/undertow/CompressionHttpHandlerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static class MaxSizePredicate implements Predicate {
118118
private final Predicate maxContentSize;
119119

120120
MaxSizePredicate(int size) {
121-
this.maxContentSize = Predicates.maxContentSize(size);
121+
this.maxContentSize = Predicates.requestLargerThan(size);
122122
}
123123

124124
@Override

0 commit comments

Comments
 (0)