Fixed a bug where an invalid upstream channel state event goes downstream
This commit is contained in:
parent
b9c8675cf1
commit
edd056d3de
@ -134,7 +134,7 @@ public class SimpleChannelHandler implements ChannelUpstreamHandler, ChannelDown
|
||||
channelInterestChanged(ctx, evt);
|
||||
break;
|
||||
default:
|
||||
ctx.sendDownstream(e);
|
||||
ctx.sendUpstream(e);
|
||||
}
|
||||
} else if (e instanceof ExceptionEvent) {
|
||||
exceptionCaught(ctx, (ExceptionEvent) e);
|
||||
|
@ -116,7 +116,7 @@ public class SimpleChannelUpstreamHandler implements ChannelUpstreamHandler {
|
||||
channelInterestChanged(ctx, evt);
|
||||
break;
|
||||
default:
|
||||
ctx.sendDownstream(e);
|
||||
ctx.sendUpstream(e);
|
||||
}
|
||||
} else if (e instanceof ExceptionEvent) {
|
||||
exceptionCaught(ctx, (ExceptionEvent) e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user