netty5/codec-dns
Norman Maurer 6bf7e24389 [#5014] Correctly encode / decode zero-length names when encoding DnsRecords.
Motivation:

Zero-length names needs to be "prefixed" by the length as well when encoded into a ByteBuf. Also some servers not correctly prefix these so we should ensure we can workaround this and even decode in such case.

Modifications:

- Always encode the length of the name into the ByteBuf even if its zero-length.
- If there are no readable bytes for the name just asume its an empty name to workaround dns servers that not fully respect the RFC.

Result:

Correctly encode zero-length names and be able to decode empty names even when the rfc is not strictly followed.
2016-03-24 13:51:04 +01:00
..
src [#5014] Correctly encode / decode zero-length names when encoding DnsRecords. 2016-03-24 13:51:04 +01:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-03-21 11:51:50 +01:00