summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-18 12:54:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-18 12:54:16 +0100
commit8d393a012f52e57ab6bc7cc0c8da0c64ccd10ea9 (patch)
tree67d8776790588c4bc85914749e7539eca39259ae /src/rspamd.c
parentda60dec1d43594695255180ed9dbcb680305e941 (diff)
downloadrspamd-8d393a012f52e57ab6bc7cc0c8da0c64ccd10ea9.tar.gz
rspamd-8d393a012f52e57ab6bc7cc0c8da0c64ccd10ea9.zip
[CritFix] Fix maps after reload
Issue: #2293
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 7a2ce2daa..d7543643e 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -289,8 +289,9 @@ reread_config (struct rspamd_main *rspamd_main)
rspamd_main->cfg = tmp_cfg;
if (!load_rspamd_config (rspamd_main, tmp_cfg, TRUE,
- RSPAMD_CONFIG_INIT_VALIDATE|RSPAMD_CONFIG_INIT_SYMCACHE,
- TRUE)) {
+ RSPAMD_CONFIG_INIT_VALIDATE|RSPAMD_CONFIG_INIT_SYMCACHE|
+ RSPAMD_CONFIG_INIT_LIBS|RSPAMD_CONFIG_INIT_URL,
+ TRUE)) {
rspamd_main->cfg = old_cfg;
rspamd_log_close_priv (rspamd_main->logger,
rspamd_main->workers_uid,