Skip to content

Commit

Permalink
Allow SDM's web server to reuse a socket without waiting (#9946)
Browse files Browse the repository at this point in the history
This is Jetty's default for a Connector, and reflects the configuration
used by the DevMode Jetty app server instance.

Fixes #9944
  • Loading branch information
niloc132 committed Mar 29, 2024
1 parent 63dc05b commit 34b2a44
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -121,7 +121,7 @@ void start(final TreeLogger logger) throws UnableToCompleteException {
ServerConnector connector = new ServerConnector(newServer);
connector.setHost(bindAddress);
connector.setPort(port);
connector.setReuseAddress(false);
connector.setReuseAddress(true);
newServer.addConnector(connector);

ServletContextHandler newHandler = new ServletContextHandler(ServletContextHandler.GZIP);
Expand Down

0 comments on commit 34b2a44

Please sign in to comment.