Enable gathering writes by default. See #269
This commit is contained in:
parent
510692d7e7
commit
670c4fa42f
@ -69,7 +69,7 @@ final class SocketSendBufferPool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (src instanceof CompositeChannelBuffer && DetectionUtil.javaVersion() >= 7) {
|
if (src instanceof CompositeChannelBuffer && DetectionUtil.javaVersion() >= 7) {
|
||||||
//return new GatheringSendBuffer(src.toByteBuffers());
|
return new GatheringSendBuffer(src.toByteBuffers());
|
||||||
}
|
}
|
||||||
if (src.isDirect()) {
|
if (src.isDirect()) {
|
||||||
return new UnpooledSendBuffer(src.toByteBuffer());
|
return new UnpooledSendBuffer(src.toByteBuffer());
|
||||||
|
Loading…
Reference in New Issue
Block a user