adjust minimum space in ByteBufferAccumulator before buffer allocation
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
3c44df0724
commit
8dc0d9932d
|
@ -28,7 +28,7 @@ import org.eclipse.jetty.util.BufferUtil;
|
|||
|
||||
public class ByteBufferAccumulator implements AutoCloseable
|
||||
{
|
||||
private static final int MIN_SPACE = 3;
|
||||
private static final int MIN_SPACE = 8;
|
||||
private static final int DEFAULT_BUFFER_SIZE = 1024;
|
||||
|
||||
private final List<ByteBuffer> _buffers = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue