comment
This commit is contained in:
parent
832fe29063
commit
73c81acdfa
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user