netty5/codec-memcache/src/test/java/io/netty/handler/codec/memcache/binary
Xiaoyan Lin 4606890513 Retain AbstractBinaryMemcacheDecoder.currentMessage when sending it out and release it when it's not used.
Motivation:

AbstractBinaryMemcacheDecoder.currentMessage is not retained after sending it out. Hence, if a message contains `extras`, `io.netty.util.IllegalReferenceCountException` will be thrown in `channelInactive`.

Modifications:

Retain AbstractBinaryMemcacheDecoder.currentMessage After putting it to `out` and release it when it's not used.

Result:

No IllegalReferenceCountException or leak.
2016-01-29 14:15:49 +01:00
..
BinaryMemcacheDecoderTest.java Retain AbstractBinaryMemcacheDecoder.currentMessage when sending it out and release it when it's not used. 2016-01-29 14:15:49 +01:00
BinaryMemcacheEncoderTest.java Fix a buffer leak in BinaryMemcacheEncoderTest 2015-08-29 11:54:01 +09:00
BinaryMemcacheObjectAggregatorTest.java Adhere to our getter/setter naming rules 2014-06-24 16:10:32 +09:00