From dce21483e35b2e27074d03d193c3e699960dd751 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 e4660d3896..fcc8d6b5bd 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