mirror of https://github.com/apache/lucene.git
SOLR-14264 Set minimum gzip size for responses
This commit is contained in:
parent
cea4226367
commit
79966132fc
|
@ -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.*");
|
||||
|
|
Loading…
Reference in New Issue