Enable gathering writes by default. See #269

This commit is contained in:
Norman Maurer 2012-04-19 17:52:35 +02:00
parent 510692d7e7
commit 670c4fa42f

View File

@ -69,7 +69,7 @@ final class SocketSendBufferPool {
}
if (src instanceof CompositeChannelBuffer && DetectionUtil.javaVersion() >= 7) {
//return new GatheringSendBuffer(src.toByteBuffers());
return new GatheringSendBuffer(src.toByteBuffers());
}
if (src.isDirect()) {
return new UnpooledSendBuffer(src.toByteBuffer());