lib/zlib/GzipOutputStream: grow Write() buffer to 64 kB

This commit is contained in:
Max Kellermann 2022-07-04 10:08:52 +02:00
parent 59186f1fb0
commit 5b3abe2c9c

View File

@ -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);