Fix a regression in ChannelInboundMessageHandlerAdapter

- Should forward the unsupported message to the next inbound buffer rather than the next outbound buffer.
This commit is contained in:
Trustin Lee 2013-02-08 00:08:39 +09:00
parent ec51b359c9
commit 30e80f8c5c

View File

@ -82,7 +82,7 @@ public abstract class ChannelInboundMessageHandlerAdapter<I>
try {
if (!isSupported(msg)) {
if (out == null) {
out = ctx.nextOutboundMessageBuffer();
out = ctx.nextInboundMessageBuffer();
}
out.add(msg);
unsupportedFound = true;