Suppress duplicate warning message printed when a message reaches at the end of pipeline
This commit is contained in:
parent
175526b6bd
commit
f178b8d421
@ -973,11 +973,13 @@ final class DefaultChannelPipeline implements ChannelPipeline {
|
|||||||
ByteBufUtil.release(m);
|
ByteBufUtil.release(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (length != 1) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"Discarded {} inbound message(s) that reached at the tail of the pipeline. " +
|
"Discarded {} inbound message(s) that reached at the tail of the pipeline. " +
|
||||||
"Please check your pipeline configuration.", length);
|
"Please check your pipeline configuration.", length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static final class HeadHandler implements ChannelOutboundHandler {
|
static final class HeadHandler implements ChannelOutboundHandler {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user