diff --git a/tools/browser-runner/src/main/java/org/teavm/browserrunner/BrowserRunner.java b/tools/browser-runner/src/main/java/org/teavm/browserrunner/BrowserRunner.java index 687ce7b3b..716bbceb2 100644 --- a/tools/browser-runner/src/main/java/org/teavm/browserrunner/BrowserRunner.java +++ b/tools/browser-runner/src/main/java/org/teavm/browserrunner/BrowserRunner.java @@ -107,6 +107,7 @@ public class BrowserRunner { private void runServer() { server = new Server(); var connector = new ServerConnector(server); + connector.setIdleTimeout(0); server.addConnector(connector); var context = new ServletContextHandler(ServletContextHandler.SESSIONS); diff --git a/tools/chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPServer.java b/tools/chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPServer.java index 4b091f082..a15cb7ae4 100644 --- a/tools/chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPServer.java +++ b/tools/chrome-rdp/src/main/java/org/teavm/chromerdp/ChromeRDPServer.java @@ -55,6 +55,7 @@ public class ChromeRDPServer { server = new Server(); ServerConnector connector = new ServerConnector(server); connector.setPort(port); + connector.setIdleTimeout(0); server.addConnector(connector); ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS); diff --git a/tools/devserver/src/main/java/org/teavm/devserver/DevServer.java b/tools/devserver/src/main/java/org/teavm/devserver/DevServer.java index 1992ed424..cf3cb5124 100644 --- a/tools/devserver/src/main/java/org/teavm/devserver/DevServer.java +++ b/tools/devserver/src/main/java/org/teavm/devserver/DevServer.java @@ -120,6 +120,7 @@ public class DevServer { server = new Server(); ServerConnector connector = new ServerConnector(server); connector.setPort(port); + connector.setIdleTimeout(0); server.addConnector(connector); ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);