Skip to content

Commit 8a6d2f8

Browse files
committed
Temp fix for gzip
1 parent 975a996 commit 8a6d2f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stubbornjava-common/src/main/java/com/stubbornjava/common/undertow/handlers/CustomHandlers.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public static HttpHandler gzip(HttpHandler next) {
5151
// This 1000 is a priority, not exactly sure what it does.
5252
new GzipEncodingProvider(), 1000,
5353
// Anything under a content-length of 20 will not be gzipped
54-
Predicates.parse("max-content-size(20)")))
54+
Predicates.truePredicate()
55+
//Predicates.parse("max-content-size(20)") // https://issues.jboss.org/browse/UNDERTOW-1234
56+
))
5557
.setNext(next);
5658
}
5759

0 commit comments

Comments
 (0)