lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [lucene-solr] branch master updated: SOLR-14264 Set minimum gzip size for responses
Date Thu, 20 Feb 2020 23:14:38 GMT
This is an automated email from the ASF dual-hosted git repository.

mdrob pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 7996613  SOLR-14264 Set minimum gzip size for responses
7996613 is described below

commit 79966132fca7c3d0a9c29797b5edb012e07b3b07
Author: Mike Drob <mdrob@apache.org>
AuthorDate: Mon Feb 17 12:18:06 2020 -0600

    SOLR-14264 Set minimum gzip size for responses
---
 .../src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
b/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
index 6448a7a..46b614c 100644
--- a/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
+++ b/solr/core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
@@ -411,7 +411,7 @@ public class JettySolrRunner {
     GzipHandler gzipHandler = new GzipHandler();
     gzipHandler.setHandler(chain);
 
-    gzipHandler.setMinGzipSize(0);
+    gzipHandler.setMinGzipSize(23); // https://github.com/eclipse/jetty.project/issues/4191
     gzipHandler.setCheckGzExists(false);
     gzipHandler.setCompressionLevel(-1);
     gzipHandler.setExcludedAgentPatterns(".*MSIE.6\\.0.*");


Mime
View raw message