netty5/codec-socks/src/test/java/io/netty/handler/codec/socks
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
..
SocksAuthRequestDecoderTest.java Convert fields to the local variable when possible 2017-03-08 17:09:17 -08:00
SocksAuthRequestTest.java [#787] Move the socks package to the right place 2012-12-04 09:14:05 +01:00
SocksAuthResponseDecoderTest.java Change the return type of EmbeddedChannel.read*() from Object to an ad-hoc type parameter 2014-02-13 17:19:26 -08:00
SocksAuthResponseTest.java [#2428] Proper fix of incorrect port range check 2014-04-30 08:17:40 +02:00
SocksCmdRequestDecoderTest.java Wrap operations requiring SocketPermission with doPrivileged blocks 2017-01-19 21:12:52 +01:00
SocksCmdRequestTest.java Remove support for marking reader and writerIndex in ByteBuf to reduce overhead and complexity. (#8636) 2018-12-11 14:00:49 +01:00
SocksCmdResponseDecoderTest.java Change the return type of EmbeddedChannel.read*() from Object to an ad-hoc type parameter 2014-02-13 17:19:26 -08:00
SocksCmdResponseTest.java Remove support for marking reader and writerIndex in ByteBuf to reduce overhead and complexity. (#8636) 2018-12-11 14:00:49 +01:00
SocksCommonTestUtils.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
SocksInitRequestTest.java enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
SocksInitResponseTest.java [#787] Move the socks package to the right place 2012-12-04 09:14:05 +01:00