This commit is contained in:
Trustin Lee 2010-01-28 03:30:40 +00:00
parent 832fe29063
commit 73c81acdfa

View File

@ -345,6 +345,7 @@ class NioWorker implements Runnable {
buffer.writeBytes(directBuffer);
directBufferPool.release(directBuffer);
} else {
// no need to copy: directBuffer is just a view to buffer.
buffer.writerIndex(buffer.writerIndex() + readBytes);
}
}