netty5/transport-native-unix-common/src
Norman Maurer d57a5f5d4f 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:55:35 +02:00
..
main Correctly handle ipv6 mapped ipv4 addresses when using recvmmsg (#9541) 2019-09-06 13:55:35 +02:00
test/java/io/netty/channel/unix Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00