You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/13 07:55:01 UTC

[GitHub] [pulsar] fantapsody commented on a diff in pull request #16342: [proxy] Do not preserve host when forwarding admin requests.

fantapsody commented on code in PR #16342:
URL: https://github.com/apache/pulsar/pull/16342#discussion_r919765326


##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyServiceStarter.java:
##########
@@ -267,7 +267,6 @@ public static void addWebServerHandlers(WebServer server,
 
         AdminProxyHandler adminProxyHandler = new AdminProxyHandler(config, discoveryProvider);
         ServletHolder servletHolder = new ServletHolder(adminProxyHandler);
-        servletHolder.setInitParameter("preserveHost", "true");

Review Comment:
   Sure, I just removed them all, PTAL.



-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org