netty5/transport/src
Scott Mitchell be5b5a3b29 NioDatagramChannel invalid usage of internalNioBuffer
Motivation:
NioDatagramChannel attempts to unpack a AddressedEnvelope and unconditionally uses internalNioBuffer. However if the ByteBuf is a CompositeByteBuf with more than 1 components, the write will fail and throw an exception.

Modifications:
- NioDatagramChannel should check the nioBufferCount before attempting
to use internalNioBuffer

Result:
No more failure to write UDP packets on NIO when a CompositeByteBuf is
used.
2018-02-12 09:31:57 -08:00
..
main/java/io/netty NioDatagramChannel invalid usage of internalNioBuffer 2018-02-12 09:31:57 -08:00
test/java/io/netty DefaultChannelPipeline will not invoke handler if events are fired from handlerAdded 2018-01-24 10:33:22 +01:00