Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a6d2f8

Browse files
committed
Temp fix for gzip
1 parent975a996 commit8a6d2f8

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
newGzipEncodingProvider(),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)

[8]ページ先頭

©2009-2025 Movatter.jp