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()) {
|
if (encodings.isEmpty()) {
|
||||||
m.removeHeader(HttpHeaders.Names.TRANSFER_ENCODING);
|
m.removeHeader(HttpHeaders.Names.TRANSFER_ENCODING);
|
||||||
}
|
}
|
||||||
|
m.setChunked(false);
|
||||||
m.setContent(ChannelBuffers.dynamicBuffer(e.getChannel().getConfig().getBufferFactory()));
|
m.setContent(ChannelBuffers.dynamicBuffer(e.getChannel().getConfig().getBufferFactory()));
|
||||||
this.currentMessage = m;
|
this.currentMessage = m;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user