From 1c13d8c9f3567276540f49673097197a2e37b27e Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 26 Aug 2010 02:07:11 +0000 Subject: [PATCH] Fixed a bug where HttpMessage.chunked flag is not cleared by HttpChunkAggregator --- .../org/jboss/netty/handler/codec/http/HttpChunkAggregator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkAggregator.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkAggregator.java index 8552600f78..d2fb4f3a75 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkAggregator.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpChunkAggregator.java @@ -89,6 +89,7 @@ public class HttpChunkAggregator extends SimpleChannelUpstreamHandler { if (encodings.isEmpty()) { m.removeHeader(HttpHeaders.Names.TRANSFER_ENCODING); } + m.setChunked(false); m.setContent(ChannelBuffers.dynamicBuffer(e.getChannel().getConfig().getBufferFactory())); this.currentMessage = m; } else {