aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-07 16:02:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-07 16:02:27 +0000
commit54602f1cbf740140efc543d678493c73233583b2 (patch)
treef4dbd45fd6d8c49c08def4c65613e52c99ca1bc2 /src/cfg_file.h
parent3b6242b776470ab17be284c5d0ce74101f081c09 (diff)
downloadrspamd-54602f1cbf740140efc543d678493c73233583b2.tar.gz
rspamd-54602f1cbf740140efc543d678493c73233583b2.zip
Add `strict_protocol_headers` option for rspamc protocol.
If this option is specified then unknown headers are treated as errors otherwise they are just ignored. This option is `false` by default meaning that unknown headers are ignored.
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index 41c37bd34..55ced8456 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -292,6 +292,7 @@ struct config_file {
gboolean one_shot_mode; /**< rules add only one symbol */
gboolean check_text_attachements; /**< check text attachements as text */
gboolean convert_config; /**< convert config to XML format */
+ gboolean strict_protocol_headers; /**< strictly check protocol headers */
gsize max_diff; /**< maximum diff size for text parts */