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:
parent
ec51b359c9
commit
30e80f8c5c
@ -82,7 +82,7 @@ public abstract class ChannelInboundMessageHandlerAdapter<I>
|
|||||||
try {
|
try {
|
||||||
if (!isSupported(msg)) {
|
if (!isSupported(msg)) {
|
||||||
if (out == null) {
|
if (out == null) {
|
||||||
out = ctx.nextOutboundMessageBuffer();
|
out = ctx.nextInboundMessageBuffer();
|
||||||
}
|
}
|
||||||
out.add(msg);
|
out.add(msg);
|
||||||
unsupportedFound = true;
|
unsupportedFound = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user