netty5/codec-stomp/src/test/java/io/netty/handler/codec/stomp
Norman Maurer d9a6cf341c
Remove support for marking reader and writerIndex in ByteBuf to reduce overhead and complexity. (#8636)
Motivation:

ByteBuf supports “marker indexes”. The intended use case for these is if a speculative operation (e.g. decode) is in process the user can “mark” and interface and refer to it later if the operation isn’t successful (e.g. not enough data). However this is rarely used in practice,
requires extra memory to maintain, and introduces complexity in the state management for derived/pooled buffer initialization, resizing, and other operations which may modify reader/writer indexes.

Modifications:

Remove support for marking and adjust testcases / code.

Result:

Fixes https://github.com/netty/netty/issues/8535.
2018-12-11 14:00:49 +01:00
..
DefaultStompFrameTest.java Fix StompFrame.copy() does not copy headers 2018-01-26 08:30:12 +01:00
StompHeadersTest.java fixed "sensative" typo to read "sensitive" 2016-02-17 08:18:11 -08:00
StompSubframeAggregatorTest.java Better parsing for STOMP body with no length. 2015-09-29 16:09:54 +02:00
StompSubframeDecoderTest.java Fix StompSubframeDecoder.readHeaders produce not any notification when parsed line that contains multiple colon 2017-08-29 22:06:45 +02:00
StompSubframeEncoderTest.java Remove support for marking reader and writerIndex in ByteBuf to reduce overhead and complexity. (#8636) 2018-12-11 14:00:49 +01:00
StompTestConstants.java Fix StompSubframeDecoder.readHeaders produce not any notification when parsed line that contains multiple colon 2017-08-29 22:06:45 +02:00