From 003f97168c87fc350b6ea63405dbe98885a102bc Mon Sep 17 00:00:00 2001 From: Scott Mitchell Date: Wed, 10 Sep 2014 08:33:32 -0400 Subject: [PATCH] HTTP Content Decoder Cleanup Bug Motiviation: The HTTP content decoder's cleanup method is not cleaning up the decoder correctly. The cleanup method is currently doing a readOutbound on the EmbeddedChannel but for decoding the call should be readInbound. Modifications: -Change readOutbound to readInbound in the cleanup method Result: The cleanup method should be correctly releaseing unused resources --- .../java/io/netty/handler/codec/http/HttpContentDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentDecoder.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentDecoder.java index d011722115..42ab3af2a1 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentDecoder.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpContentDecoder.java @@ -203,10 +203,10 @@ public abstract class HttpContentDecoder extends MessageToMessageDecoder