abh1sar commented on code in PR #11854:
URL: https://github.com/apache/cloudstack/pull/11854#discussion_r2689092844
##########
client/src/main/java/org/apache/cloudstack/ServerDaemon.java:
##########
@@ -193,7 +190,6 @@ public void start() throws Exception {
httpConfig.setResponseHeaderSize(8192);
httpConfig.setSendServerVersion(false);
httpConfig.setSendDateHeader(false);
- addForwardingCustomiser(httpConfig);
Review Comment:
This would modify the request so that getRemoteAddr() returns the forwarded
header.
We need the request as is so that the client IP is processed correctly later
in getClientAddress() using the configs retrieved by doUseForwardHeaders() and
proxyNets().
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]