netty5/codec-dns/src/test/java/io/netty/handler/codec/dns
Norman Maurer 8cf90f0512 [#5760] Do not change writerIndex when decode DnsPtrRecord
Motivation:

We need to not change the original writerIndex when decode a DnsPtrRecord as otherwise we will not be able to decode other records that follow it.

Modifications:

Slice the data out and so not increase the writerIndex.

Result:

No more problems when decoding.
2016-09-01 08:26:52 +02: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 [#5760] Do not change writerIndex when decode DnsPtrRecord 2016-09-01 08:26:52 +02:00
DefaultDnsRecordEncoderTest.java Fix incorrect name encoding/decoding in DNS records 2016-04-01 22:18:33 +02:00
DnsQueryTest.java Fix a test failure in DnsQueryTest 2015-05-01 12:03:44 +09:00
DnsRecordTypeTest.java Revamp DNS codec 2015-05-01 11:33:16 +09:00
DnsResponseTest.java Revamp DNS codec 2015-05-01 11:33:16 +09:00