leventov commented on a change in pull request #5624: Update to jetty 9.4; 
Enable request decompression
URL: https://github.com/apache/incubator-druid/pull/5624#discussion_r227032566
 
 

 ##########
 File path: 
server/src/test/java/io/druid/server/AsyncManagementForwardingServletTest.java
 ##########
 @@ -436,7 +436,7 @@ public String getCurrentLeader()
       JettyServerInitUtils.addExtensionFilters(root, injector);
 
       final HandlerList handlerList = new HandlerList();
-      handlerList.setHandlers(new 
Handler[]{JettyServerInitUtils.wrapWithDefaultGzipHandler(root)});
+      handlerList.setHandlers(new 
Handler[]{JettyServerInitUtils.wrapWithDefaultGzipHandler(root, 4096, -1)});
 
 Review comment:
   Should have used `ServerConfig.DEFAULT_GZIP_INFLATE_BUFFER_SIZE` and 
`Deflater.DEFAULT_COMPRESSION` instead of magic constants

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to