From 00cf1a6d13c9410a922c70be7fc89a8706d66689 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 3 Jan 2024 11:37:01 +0000 Subject: [PATCH] Remove unnecessary configuration of idle timeout Fixes gh-38960 --- .../boot/web/embedded/jetty/JettyServletWebServerFactory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/JettyServletWebServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/JettyServletWebServerFactory.java index a50ddc044802..89d0159d52ae 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/JettyServletWebServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/jetty/JettyServletWebServerFactory.java @@ -216,7 +216,6 @@ private Server createServer(InetSocketAddress address) { private AbstractConnector createConnector(InetSocketAddress address, Server server) { HttpConfiguration httpConfiguration = new HttpConfiguration(); httpConfiguration.setSendServerVersion(false); - httpConfiguration.setIdleTimeout(30000); List connectionFactories = new ArrayList<>(); connectionFactories.add(new HttpConnectionFactory(httpConfiguration)); if (getHttp2() != null && getHttp2().isEnabled()) {