Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/nio/SelectChannelConnector.java @ 897:821e4634b787
remove _reuseAddress
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 06 Oct 2016 23:52:53 -0600 |
parents | 1aa58272794f |
children | d9a12a7339a6 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java Thu Oct 06 23:46:51 2016 -0600 +++ b/src/org/eclipse/jetty/server/nio/SelectChannelConnector.java Thu Oct 06 23:52:53 2016 -0600 @@ -174,7 +174,7 @@ _acceptChannel.configureBlocking(true); // Bind the server socket to the local host and port - _acceptChannel.socket().setReuseAddress(getReuseAddress()); + _acceptChannel.socket().setReuseAddress(true); InetSocketAddress addr = getHost()==null?new InetSocketAddress(port):new InetSocketAddress(getHost(),port); _acceptChannel.socket().bind(addr,0);