Fixed a problem where DefaultHttpChunk.isLast returns a wrong value

This commit is contained in:
Trustin Lee 2009-02-12 06:22:06 +00:00
parent 44d56d2c1a
commit 2ac8d11a34

View File

@ -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;
}