From 1bd9bbb8e02495e85bc7bdc5aee20b714ed9ce3d Mon Sep 17 00:00:00 2001 From: Fiachra Corcoran Date: Mon, 27 Aug 2018 15:04:05 +0100 Subject: Downgrade Jetty to 9.3.8.RC0 Issue-ID: DMAAP-557 Change-Id: I0f595d9bc092c3a7a0821a8587bcb3660f550bfe Signed-off-by: Fiachra Corcoran --- .../src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'datarouter-node/src/main/java') 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(); -- cgit 1.2.3-korg