[#494] Automatically adding chunked encoding header breaks streaming
Add a missing statement dropped while forwardporting
This commit is contained in:
parent
e530ccaeb8
commit
00d6010916
@ -70,6 +70,7 @@ public abstract class HttpMessageEncoder extends MessageToByteEncoder<Object> {
|
||||
if (HttpCodecUtil.isContentLengthSet(m)) {
|
||||
contentMustBeEmpty = false;
|
||||
transferEncodingChunked = false;
|
||||
HttpCodecUtil.removeTransferEncodingChunked(m);
|
||||
} else {
|
||||
// check if the Transfer-Encoding is set to chunked already.
|
||||
// if not add the header to the message
|
||||
|
Loading…
Reference in New Issue
Block a user