Fix a compilation error
This commit is contained in:
parent
1be42ca6e4
commit
a63723b006
@ -384,7 +384,7 @@ public abstract class HttpObjectDecoder extends ReplayingDecoder<State> {
|
||||
|
||||
// Handle the last unfinished message.
|
||||
if (message != null) {
|
||||
boolean chunked = HttpHeaders.isTransferEncodingChunked(message);
|
||||
boolean chunked = HttpHeaderUtil.isTransferEncodingChunked(message);
|
||||
if (state() == State.READ_VARIABLE_LENGTH_CONTENT && !in.isReadable() && !chunked) {
|
||||
// End of connection.
|
||||
out.add(LastHttpContent.EMPTY_LAST_CONTENT);
|
||||
|
Loading…
Reference in New Issue
Block a user