Merge pull request #1191 from CaoTianze/jetty-9.3.x
delete redundant addBean(serverChannel) invoke
This commit is contained in:
commit
5920e14c9b
|
@ -319,8 +319,6 @@ public class ServerConnector extends AbstractNetworkConnector
|
||||||
_localPort = serverChannel.socket().getLocalPort();
|
_localPort = serverChannel.socket().getLocalPort();
|
||||||
if (_localPort <= 0)
|
if (_localPort <= 0)
|
||||||
throw new IOException("Server channel not bound");
|
throw new IOException("Server channel not bound");
|
||||||
|
|
||||||
addBean(serverChannel);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
serverChannel.configureBlocking(true);
|
serverChannel.configureBlocking(true);
|
||||||
|
|
Loading…
Reference in New Issue