aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/map_private.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-28 12:08:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-28 12:08:29 +0000
commit80264529d0c16f28223f827f46eaa2838046a84d (patch)
tree56b04e0da4434860135da2d4dd77c5bb31778110 /src/libutil/map_private.h
parent0d5f9d30bcb193fc9131b4d3a8c216d79f29636b (diff)
downloadrspamd-80264529d0c16f28223f827f46eaa2838046a84d.tar.gz
rspamd-80264529d0c16f28223f827f46eaa2838046a84d.zip
[Minor] Improve trivial maps handling
Diffstat (limited to 'src/libutil/map_private.h')
-rw-r--r--src/libutil/map_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/map_private.h b/src/libutil/map_private.h
index c45f55f4b..347f63538 100644
--- a/src/libutil/map_private.h
+++ b/src/libutil/map_private.h
@@ -157,6 +157,8 @@ struct rspamd_map {
time_t next_check;
gboolean active_http;
gboolean non_trivial; /* E.g. has http backends in active mode */
+ gboolean file_only; /* No HTTP backends found */
+ gboolean static_only; /* No need to check */
/* Shared lock for temporary disabling of map reading (e.g. when this map is written by UI) */
gint *locked;
gchar tag[MEMPOOL_UID_LEN];