aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-27 13:19:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-27 13:19:03 +0000
commit65ae7ecb508095bbbcc2a3be464c4bc4fed3a9aa (patch)
treeff0673bebc5019ef8e74422aeefd2794b9e026de /src/libserver/cfg_utils.c
parent5f45749d11981db96788bc496804eb29d61756fc (diff)
downloadrspamd-65ae7ecb508095bbbcc2a3be464c4bc4fed3a9aa.tar.gz
rspamd-65ae7ecb508095bbbcc2a3be464c4bc4fed3a9aa.zip
[Minor] Implement workaround for legacy clients
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r--src/libserver/cfg_utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index e87ba2a25..ea6894259 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -156,6 +156,10 @@ rspamd_config_new (void)
cfg->ups_ctx = rspamd_upstreams_library_init ();
cfg->re_cache = rspamd_re_cache_new ();
cfg->doc_strings = ucl_object_typed_new (UCL_OBJECT);
+ /*
+ * Unless exim is fixed
+ */
+ cfg->enable_shutdown_workaround = TRUE;
REF_INIT_RETAIN (cfg, rspamd_config_free);