Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java @ 888:1aa58272794f
remove _acceptQueueSize
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 06 Oct 2016 23:12:00 -0600 |
parents | df84a1741687 |
children | 769040d68b0a |
comparison
equal
deleted
inserted
replaced
887:df84a1741687 | 888:1aa58272794f |
---|---|
125 _acceptChannel= ServerSocketChannel.open(); | 125 _acceptChannel= ServerSocketChannel.open(); |
126 _acceptChannel.configureBlocking(true); | 126 _acceptChannel.configureBlocking(true); |
127 | 127 |
128 // Bind the server socket to the local host and port | 128 // Bind the server socket to the local host and port |
129 InetSocketAddress addr = getHost()==null?new InetSocketAddress(port):new InetSocketAddress(getHost(),port); | 129 InetSocketAddress addr = getHost()==null?new InetSocketAddress(port):new InetSocketAddress(getHost(),port); |
130 _acceptChannel.socket().bind(addr,getAcceptQueueSize()); | 130 _acceptChannel.socket().bind(addr,0); |
131 } | 131 } |
132 | 132 |
133 /* ------------------------------------------------------------ */ | 133 /* ------------------------------------------------------------ */ |
134 public void close() throws IOException | 134 public void close() throws IOException |
135 { | 135 { |