SOLR-14264 Set minimum gzip size for responses

This commit is contained in:
Mike Drob 2020-02-17 12:18:06 -06:00
parent cea4226367
commit 79966132fc
1 changed files with 1 additions and 1 deletions

View File

@ -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.*");