Exception caught should rely on channel activity state, not OUR close flag
This commit is contained in:
		| @@ -81,7 +81,7 @@ public class HandlerBoss extends ChannelInboundMessageHandlerAdapter<Object> | ||||
|     @Override | ||||
|     public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception | ||||
|     { | ||||
|         if ( !channel.isClosed() ) | ||||
|         if ( ctx.channel().isActive() ) | ||||
|         { | ||||
|             if ( cause instanceof ReadTimeoutException ) | ||||
|             { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 md_5
					md_5