Skip to content

Commit 34b2a44

Browse files
authored
Allow SDM's web server to reuse a socket without waiting (#9946)
This is Jetty's default for a Connector, and reflects the configuration used by the DevMode Jetty app server instance. Fixes #9944
1 parent 63dc05b commit 34b2a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/codeserver/java/com/google/gwt/dev/codeserver/WebServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void start(final TreeLogger logger) throws UnableToCompleteException {
121121
ServerConnector connector = new ServerConnector(newServer);
122122
connector.setHost(bindAddress);
123123
connector.setPort(port);
124-
connector.setReuseAddress(false);
124+
connector.setReuseAddress(true);
125125
newServer.addConnector(connector);
126126

127127
ServletContextHandler newHandler = new ServletContextHandler(ServletContextHandler.GZIP);

0 commit comments

Comments
 (0)