Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netty#7285 Improved "Discarded inbound message" warning for embedded …
…channel (netty#9414) Motivation: Look like `EmbeddedChannelPipeline` should also override `onUnhandledInboundMessage(ChannelHandlerContext ctx, Object msg)` in order to do not print "Discarded message pipeline" because in case of `EmbeddedChannelPipeline` discarding actually not happens. This fixes next warning in the latest netty version with websocket and `WebSocketServerCompressionHandler`: ``` 13:36:36.231 DEBUG- Decoding WebSocket Frame opCode=2 13:36:36.231 DEBUG- Decoding WebSocket Frame length=5 13:36:36.231 DEBUG- Discarded message pipeline : [JdkZlibDecoder#0, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0xembedded, L:embedded - R:embedded]. ``` Modification: Override correct method Result: Follow up fix after netty#9286
- Loading branch information