diff --git a/src/server.c b/src/server.c index 2800ade..f2fe829 100644 --- a/src/server.c +++ b/src/server.c @@ -748,7 +748,7 @@ static void on_connection(uv_stream_t *server_stream, int status) client->ref = 1; client->server = server; - if (deflateInit(&client->z_stream, Z_DEFAULT_COMPRESSION) != Z_OK) { + if (deflateInit(&client->z_stream, Z_BEST_SPEED) != Z_OK) { free(client); return; }