netty5/transport/src
Scott Mitchell 7928a6fef3
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:36 -08:00
..
main/java/io/netty NioDatagramChannel invalid usage of internalNioBuffer 2018-02-12 09:31:36 -08:00
test/java/io/netty DefaultChannelPipeline will not invoke handler if events are fired from handlerAdded 2018-01-24 10:32:48 +01:00