netty5/codec-dns/src/test/java/io/netty/handler/codec/dns
Thomas Devanneaux 32746c53c1 EDNS Client Subnet is not encoded correctly when source prefix length is not a multiple of 8.
Motivation:
When the ECS source prefix length is not a mutiple of 8, the last byte the address inside the
ECS OPT record is not padded properly.

Modifications:
DefaultDnsRecordEncoder.padWithZeros(...) was modified to add padding from the least
significant bits.

Result:
ECS encoding bug fixed.
2017-12-01 08:14:13 +01:00
..
AbstractDnsRecordTest.java [#4993] Correctly handle trailing dot in DNS requests and responses for the hostname. 2016-03-22 12:30:46 +01:00
DefaultDnsRecordDecoderTest.java fix the typos 2017-04-20 04:56:09 +02:00
DefaultDnsRecordEncoderTest.java EDNS Client Subnet is not encoded correctly when source prefix length is not a multiple of 8. 2017-12-01 08:14:13 +01:00
DnsQueryTest.java Wrap operations requiring SocketPermission with doPrivileged blocks 2017-01-19 21:12:52 +01:00
DnsRecordTypeTest.java Revamp DNS codec 2015-05-01 11:33:16 +09:00
DnsResponseTest.java fix the typos 2017-04-20 04:56:09 +02:00