netty5/transport-native-kqueue/src
Norman Maurer 163b2b659c Continue reading when the number of bytes is less then the configured… (#11089)
... number of bytes when using DatagramChannels

Motivation:

In our FixedRecvByteBufAllocator we dont continue to read if the number of bytes is less then what was configured. This is correct when using it for TCP but not when using it for UDP. When using UDP the number of bytes is the maximum of what we want to support but we often end up processing smaller datagrams in general. Because of this we should use contineReading(UncheckedBooleanSupplier) to determite if we should continue reading

Modifications:

- use contineReading(UncheckedBooleanSupplier) for DatagramChannels

Result:

Read more then once in the general case for DatagramChannels with the default config
2021-03-17 13:18:39 +01:00
..
main Continue reading when the number of bytes is less then the configured… (#11089) 2021-03-17 13:18:39 +01:00
test/java/io/netty/channel/kqueue IovArray should support when there is no unsafe present (#10814) 2020-11-23 14:04:13 +01:00