From c6b707c442b9116b26a99fac16cd067c27628ae2 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Mon, 30 Mar 2009 02:14:11 +0000 Subject: [PATCH] Fixed issue: NETTY-137 HttpChunkAggregator should not wait for content when the response status code implies empty content. * Applied the same fix to HttpMessageDecoder --- .../codec/http/HttpMessageDecoder.java | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageDecoder.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageDecoder.java index 351576195c..36f149254a 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageDecoder.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpMessageDecoder.java @@ -136,6 +136,9 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder= 0) { nextState = State.READ_FIXED_LENGTH_CONTENT;