Even if no copy was made, writerIndex should be advanced
This commit is contained in:
parent
2b786116b5
commit
832fe29063
@ -344,6 +344,8 @@ class NioWorker implements Runnable {
|
||||
directBuffer.flip();
|
||||
buffer.writeBytes(directBuffer);
|
||||
directBufferPool.release(directBuffer);
|
||||
} else {
|
||||
buffer.writerIndex(buffer.writerIndex() + readBytes);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user