aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-13 15:24:47 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-13 15:24:47 +0000
commitb606954ac39d44a05c474b6d34b071ed8e5bdd9c (patch)
treee045c0d75d0bb687406a6b4fbdb69b7b45184194
parent149e4cccf34eaa6edefe91565d0295d7f45faf82 (diff)
downloadrspamd-b606954ac39d44a05c474b6d34b071ed8e5bdd9c.tar.gz
rspamd-b606954ac39d44a05c474b6d34b071ed8e5bdd9c.zip
[Minor] Use zstd compression by default in the client
No reasons why not to do it, as there are no supported versions without compression support
-rw-r--r--src/client/rspamc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rspamc.cxx b/src/client/rspamc.cxx
index 50e3cbdee..d1b6a8ed0 100644
--- a/src/client/rspamc.cxx
+++ b/src/client/rspamc.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Vsevolod Stakhov
+ * Copyright 2024 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -80,7 +80,7 @@ static gboolean ucl_reply = FALSE;
static gboolean extended_urls = FALSE;
static gboolean mime_output = FALSE;
static gboolean empty_input = FALSE;
-static gboolean compressed = FALSE;
+static gboolean compressed = TRUE;
static gboolean profile = FALSE;
static gboolean skip_images = FALSE;
static gboolean skip_attachments = FALSE;