NETTY-182 NIO server socket sometimes does not shut down
* Should not break the loop after swallowing exceptions in Boss.
This commit is contained in:
parent
fa51403eb2
commit
8dd55b0368
@ -239,10 +239,8 @@ class NioServerSocketPipelineSink extends AbstractChannelSink {
|
||||
// raised.
|
||||
} catch (CancelledKeyException e) {
|
||||
// Raised by accept() when the server socket was closed.
|
||||
break;
|
||||
} catch (ClosedSelectorException e) {
|
||||
// Raised by accept() when the server socket was closed.
|
||||
break;
|
||||
} catch (ClosedChannelException e) {
|
||||
// Closed as requested.
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user