netty5/codec-redis/src/test/java/io/netty/handler/codec/redis
Scott Mitchell 742ee76424 RedisDecoder infinite loop
Motivation:
RedisDecoder can get into an infinite loop while decoding bulk strings if the final \r and \n to indicate the end of content are split on ByteBuf boundaries.

Modifications:
- We should break out of the decode loop if remainingBulkLength is 0 and we don't have enough data to read EOL

Result:
No more infinite loop in RedisDecoder#decodeBulkStringContent.
2017-05-30 08:53:36 -07:00
..
RedisCodecTestUtil.java Implement codec-redis 2016-04-14 10:23:16 +02:00
RedisDecoderTest.java RedisDecoder infinite loop 2017-05-30 08:53:36 -07:00
RedisEncoderTest.java Correct release buffers in RedisEncoderTest 2016-12-01 21:18:53 +01:00