From 431151b8e59458fbc0fef506f682e9c0b0d89b39 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 12 Feb 2009 07:32:53 +0000 Subject: [PATCH] Fixed issue: NETTY-107 - HttpMessageDecoder can not handle the content with no 'Content-Length' header. --- .../netty/handler/codec/http/HttpMessageDecoder.java | 10 +++++++--- .../netty/handler/codec/http/HttpRequestDecoder.java | 5 +++++ .../netty/handler/codec/http/HttpResponseDecoder.java | 5 +++++ 3 files changed, 17 insertions(+), 3 deletions(-) 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 8e7bcb2e70..f85b855bd0 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 @@ -103,9 +103,12 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder