netty5/transport-native-unix-common
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
..
src Correctly handle ipv6 mapped ipv4 addresses when using recvmmsg (#9541) 2019-09-06 13:54:29 +02:00
Makefile New native transport for kqueue 2017-05-03 09:53:22 -07:00
pom.xml Include c source files in source jar (#9497) 2019-08-23 09:30:27 +02:00