HCOLL-167 added resizeBuffer()

This commit is contained in:
Rob Austin
2014-10-23 13:10:53 +01:00
parent 33dc483f72
commit 872f771218
@@ -1104,12 +1104,10 @@ class TcpReplicator extends AbstractChannelReplicator implements Closeable {
continue;
}
if (out.remaining() < sizeInBytes) {
return;
}
final long nextEntryPos = out.position() + sizeInBytes;
final long limit = out.limit();
out.limit(nextEntryPos);