From 1d88b063aa9c287e3b01a4e41a771f66087e757f Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 15 Apr 2019 00:12:11 -0500 Subject: [PATCH] Change compression level in deflate --- common/net/daybreak_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/net/daybreak_connection.cpp b/common/net/daybreak_connection.cpp index 375841211..ebd826380 100644 --- a/common/net/daybreak_connection.cpp +++ b/common/net/daybreak_connection.cpp @@ -993,7 +993,7 @@ uint32_t Deflate(const uint8_t* in, uint32_t in_len, uint8_t* out, uint32_t out_ zstream.avail_in = in_len; zstream.opaque = Z_NULL; - deflateInit(&zstream, Z_FINISH); + deflateInit(&zstream, Z_BEST_SPEED); zstream.next_out = out; zstream.avail_out = out_len;