diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-28 12:08:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-28 12:08:29 +0000 |
commit | 80264529d0c16f28223f827f46eaa2838046a84d (patch) | |
tree | 56b04e0da4434860135da2d4dd77c5bb31778110 /src/libutil/map_private.h | |
parent | 0d5f9d30bcb193fc9131b4d3a8c216d79f29636b (diff) | |
download | rspamd-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.h | 2 |
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]; |