netty5/codec/src
Bryce Anderson 6563f23a9b Don't swallow intermediate write failures in MessageToMessageEncoder (#8454)
Motivation:

If the encoder needs to flush more than one outbound message it will
create a new ChannelPromise for all but the last write which will
swallow failures.

Modification:

Use a PromiseCombiner in the case of multiple messages and the parent
promise isn't the `VoidPromise`.

Result:

Intermediate failures are propagated to the original ChannelPromise.
2018-11-03 10:36:26 +01:00
..
main/java/io/netty/handler/codec Don't swallow intermediate write failures in MessageToMessageEncoder (#8454) 2018-11-03 10:36:26 +01:00
test Don't swallow intermediate write failures in MessageToMessageEncoder (#8454) 2018-11-03 10:36:26 +01:00