netty5/transport/src
Alexey Kachayev b0823761f4 PendingWriteQueue to handle write operations with void future
Motivation:

Right now PendingWriteQueue.removeAndWriteAll collects all promises to
PromiseCombiner instance which sets listener to each given promise throwing
IllegalStateException on VoidChannelPromise which breaks while loop
and "reports" operation as failed (when in fact part of writes might be
actually written).

Modifications:

Check if the promise is not void before adding it to the PromiseCombiner
instance.

Result:

PendingWriteQueue.removeAndWriteAll succesfully writes all pendings
even in case void promise was used.
2018-03-16 08:23:40 +01:00
..
main/java/io/netty PendingWriteQueue to handle write operations with void future 2018-03-16 08:23:40 +01:00
test/java/io/netty PendingWriteQueue to handle write operations with void future 2018-03-16 08:23:40 +01:00