mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove unnecessary configuration of idle timeout
Fixes gh-38960
This commit is contained in:
parent
7216d2b031
commit
00cf1a6d13
@ -216,7 +216,6 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
|
||||
private AbstractConnector createConnector(InetSocketAddress address, Server server) {
|
||||
HttpConfiguration httpConfiguration = new HttpConfiguration();
|
||||
httpConfiguration.setSendServerVersion(false);
|
||||
httpConfiguration.setIdleTimeout(30000);
|
||||
List<ConnectionFactory> connectionFactories = new ArrayList<>();
|
||||
connectionFactories.add(new HttpConnectionFactory(httpConfiguration));
|
||||
if (getHttp2() != null && getHttp2().isEnabled()) {
|
||||
|
Loading…
Reference in New Issue
Block a user