From 5b3abe2c9c829a56f9df221aba60d8ed47dc219d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 4 Jul 2022 10:08:52 +0200 Subject: [PATCH] lib/zlib/GzipOutputStream: grow Write() buffer to 64 kB --- src/lib/zlib/GzipOutputStream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/zlib/GzipOutputStream.cxx b/src/lib/zlib/GzipOutputStream.cxx index 207d9548b..446bc8c22 100644 --- a/src/lib/zlib/GzipOutputStream.cxx +++ b/src/lib/zlib/GzipOutputStream.cxx @@ -87,7 +87,7 @@ GzipOutputStream::Write(const void *_data, size_t size) z.avail_in = size; while (z.avail_in > 0) { - Bytef output[16384]; + Bytef output[65536]; z.next_out = output; z.avail_out = sizeof(output);