lhotari commented on code in PR #22370: URL: https://github.com/apache/pulsar/pull/22370#discussion_r1557462381
########## pulsar-broker/src/main/java/org/apache/pulsar/broker/web/WebService.java: ########## @@ -294,8 +291,10 @@ public void start() throws PulsarServerException { ContextHandlerCollection contexts = new ContextHandlerCollection(); contexts.setHandlers(handlers.toArray(new Handler[handlers.size()])); + Handler handlerForContexts = GzipHandlerUtil.wrapWithGzipHandler(contexts, Review Comment: I don't think that such refactorings should be included in this PR. There's a risk of regressions when changing configuration in this area and it would divert the focus of this PR. Please create a separate PR with the changes you have in mind. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org