private static void initializeConnector(ServerConnector connector, String host, int port) {
// Set some timeout options to make debugging easier.
connector.setIdleTimeout(TimeUnit.HOURS.toMillis(1));
connector.setSoLingerTime(-1);
connector.setHost(host);
connector.setPort(port);
}
A call to a Jetty deprecated method
setSoLingerTime
should be removed to avoid pollution on server initialization log :Call done at SocketConnectorFactory.java(L105)