netty5/transport-native-unix-common/src
Norman Maurer 6fc7c589f0
Correctly handle ipv6 mapped ipv4 addresses when using recvmmsg (#9541)
Motivation:

394a1b3485 introduced the possibility to use recvmmsg(...) but did not correctly handle ipv6 mapped ip4 addresses to make it consistent with other transports.

Modifications:

- Correctly handle ipv6 mapped ipv4 addresses by only copy over the relevant bytes
- Small improvement on how to detect ipv6 mapped ipv4 addresses by using memcmp and not byte by byte compare
- Adjust test to cover this bug

Result:

Correctly handle ipv6 mapped ipv4 addresses
2019-09-06 13:54:29 +02:00
..
main Correctly handle ipv6 mapped ipv4 addresses when using recvmmsg (#9541) 2019-09-06 13:54:29 +02:00
test/java/io/netty/channel/unix fix UnixChannelUtil#isBufferCopyNeededForWrite 2017-06-24 21:27:54 -07:00