Actually it was being taken care of.. reverted back

This commit is contained in:
Trustin Lee 2009-03-04 13:45:40 +00:00
parent 0847720e41
commit b676175882

View File

@ -63,7 +63,9 @@ public abstract class HttpMessageEncoder extends OneToOneEncoder {
} else { } else {
return wrappedBuffer(header, content); return wrappedBuffer(header, content);
} }
} else if (msg instanceof HttpChunk) { }
if (msg instanceof HttpChunk) {
HttpChunk chunk = (HttpChunk) msg; HttpChunk chunk = (HttpChunk) msg;
if (chunk.isLast()) { if (chunk.isLast()) {
return LAST_CHUNK.duplicate(); return LAST_CHUNK.duplicate();