Motivation: HttpServerKeepAliveHandler throws unexpected error when I do ctx.writeAndFlush(msg, ctx.voidPromise()); where msg is with header "Connection:close". Modification: HttpServerKeepAliveHandler does promise.unvoid() before adding close listener. Result: No error for VoidChannelPromise with HttpServerKeepAliveHandler. Fixes [#6698]. |
||
---|---|---|
.. | ||
main/java/io/netty/handler/codec | ||
test |