We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75b1a7 commit cc1b65aCopy full SHA for cc1b65a
modules/dcache/src/main/java/org/dcache/util/jetty/ConnectorFactoryBean.java
@@ -308,6 +308,10 @@ public ServerConnector getObject() throws Exception {
308
checkState(protocol == PLAIN || certificateAuthorityPath != null);
309
310
HttpConnectionFactory httpConnectionFactory = new HttpConnectionFactory();
311
+ /*
312
+ * disable reporting of Jetty version
313
+ */
314
+ httpConnectionFactory.getHttpConfiguration().setSendServerVersion(false);
315
316
switch (protocol) {
317
case PLAIN:
@@ -362,4 +366,4 @@ public boolean isSingleton() {
362
366
public enum Protocol {
363
367
PLAIN, TLS, GSI
364
368
}
365
-}
369
+}
0 commit comments