Fixed a problem where DefaultHttpChunk.isLast returns a wrong value
This commit is contained in:
parent
44d56d2c1a
commit
2ac8d11a34
@ -38,7 +38,7 @@ public class DefaultHttpChunk implements HttpChunk {
|
||||
if (content == null) {
|
||||
throw new NullPointerException("content");
|
||||
}
|
||||
last = content.readable();
|
||||
last = !content.readable();
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user