Use heap buffers rather than direct ones

Closes #855, even if it doesn't really fix it.
This commit is contained in:
Jonathan Coates 2021-07-15 11:55:52 +01:00
parent db0bb071f5
commit aa5fbb2980
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ private ByteBuf getCompressed()
if( !compress ) return buffer;
if( compressed != null ) return compressed;
ByteBuf compressed = Unpooled.directBuffer();
ByteBuf compressed = Unpooled.buffer();
OutputStream stream = null;
try
{