Fixed a bug where HttpMessage.chunked flag is not cleared by HttpChunkAggregator
This commit is contained in:
parent
d68c5160ed
commit
1c13d8c9f3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user