You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/05/08 18:28:32 UTC

[GitHub] [nifi] alopresto commented on a change in pull request #4192: NIFI-7321 - Allow NiFi admins to configure whether Jetty will send th…

alopresto commented on a change in pull request #4192:
URL: https://github.com/apache/nifi/pull/4192#discussion_r422300486



##########
File path: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java
##########
@@ -908,6 +909,7 @@ private ServerConnector createUnconfiguredSslServerConnector(Server server, Http
         final HttpConfiguration httpsConfiguration = new HttpConfiguration(httpConfiguration);
         httpsConfiguration.setSecureScheme("https");
         httpsConfiguration.setSecurePort(port);
+        httpConfiguration.setSendServerVersion(props.shouldSendServerVersion());

Review comment:
       Why is this variable `httpConfiguration` vs. `httpsConfiguration`?




----------------------------------------------------------------
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.

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