summaryrefslogtreecommitdiffstats
path: root/datarouter-node/src
diff options
context:
space:
mode:
authorFiachra Corcoran <fiachra.corcoran@ericsson.com>2018-08-27 15:04:05 +0100
committerFiachra Corcoran <fiachra.corcoran@ericsson.com>2018-08-27 15:25:06 +0100
commit1bd9bbb8e02495e85bc7bdc5aee20b714ed9ce3d (patch)
tree4705702033d09e02bdc06bb2765f1a22c1f70796 /datarouter-node/src
parent9e6a53e27dee9ed6a303e61e3d62603bbc6b2581 (diff)
Downgrade Jetty to 9.3.8.RC0
Issue-ID: DMAAP-557 Change-Id: I0f595d9bc092c3a7a0821a8587bcb3660f550bfe Signed-off-by: Fiachra Corcoran <fiachra.corcoran@ericsson.com>
Diffstat (limited to 'datarouter-node/src')
-rw-r--r--datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java
index 006dc88c..c6b16822 100644
--- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java
+++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java
@@ -94,7 +94,6 @@ public class NodeMain {
Server server = new Server();
// HTTP configuration
HttpConfiguration httpConfiguration = new HttpConfiguration();
- httpConfiguration.setIdleTimeout(2000);
httpConfiguration.setRequestHeaderSize(2048);
// HTTP connector
@@ -102,6 +101,7 @@ public class NodeMain {
try (ServerConnector httpServerConnector = new ServerConnector(server,
new HttpConnectionFactory(httpConfiguration))) {
httpServerConnector.setPort(nodeConfigManager.getHttpPort());
+ httpServerConnector.setIdleTimeout(2000);
// HTTPS configuration
SslContextFactory sslContextFactory = new SslContextFactory();