netty5/codec-redis/src
Norman Maurer 06436efaa1 [#5190] Ensure memory is not leaked when readEndOfLine(...) throws an exception.
Motivation:

We need to ensure we not retain the buffer until readEndOfLine(...) completes as otherwise we may leak memory in the case of an exception.

Modifications:

Only call retain after readEndOfLine(...) returns.

Result:

No more leak in case of exception while decoding redis messages.
2016-05-06 07:45:44 +02:00
..
main/java/io/netty/handler/codec/redis [#5190] Ensure memory is not leaked when readEndOfLine(...) throws an exception. 2016-05-06 07:45:44 +02:00
test/java/io/netty/handler/codec/redis Fix decoding null bulk string of RedisDecoder 2016-05-01 20:26:35 +02:00