netty5/codec-redis
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
..
src [#5190] Ensure memory is not leaked when readEndOfLine(...) throws an exception. 2016-05-06 07:45:44 +02:00
pom.xml Implement codec-redis 2016-04-14 10:23:16 +02:00