netty5/codec-dns/src
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
..
main/java/io/netty/handler/codec/dns [#5760] Do not change writerIndex when decode DnsPtrRecord 2016-09-01 08:26:52 +02:00
test/java/io/netty/handler/codec/dns [#5760] Do not change writerIndex when decode DnsPtrRecord 2016-09-01 08:26:52 +02:00