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.
|
// raised.
|
||||||
} catch (CancelledKeyException e) {
|
} catch (CancelledKeyException e) {
|
||||||
// Raised by accept() when the server socket was closed.
|
// Raised by accept() when the server socket was closed.
|
||||||
break;
|
|
||||||
} catch (ClosedSelectorException e) {
|
} catch (ClosedSelectorException e) {
|
||||||
// Raised by accept() when the server socket was closed.
|
// Raised by accept() when the server socket was closed.
|
||||||
break;
|
|
||||||
} catch (ClosedChannelException e) {
|
} catch (ClosedChannelException e) {
|
||||||
// Closed as requested.
|
// Closed as requested.
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user