diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-10-19 15:14:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-10-19 15:14:58 +0100 |
commit | b87eb86a42e7d450a71e4b73b4910649b2d34c4e (patch) | |
tree | 71513eb3c2ce36dffe939ec68ebd617ec3877e3c /src/libserver/rspamd_symcache.h | |
parent | 7604819ab9e65d0177ab35888c49ec791b98b649 (diff) | |
download | rspamd-b87eb86a42e7d450a71e4b73b4910649b2d34c4e.tar.gz rspamd-b87eb86a42e7d450a71e4b73b4910649b2d34c4e.zip |
[Project] Ressurect empty prefilters as connection filters
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r-- | src/libserver/rspamd_symcache.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h index c220b1ccc..67c753e39 100644 --- a/src/libserver/rspamd_symcache.h +++ b/src/libserver/rspamd_symcache.h @@ -48,10 +48,11 @@ enum rspamd_symbol_type { SYMBOL_TYPE_CLASSIFIER = (1u << 6u), SYMBOL_TYPE_FINE = (1u << 7u), SYMBOL_TYPE_EMPTY = (1u << 8u), /* Allow execution on empty tasks */ - SYMBOL_TYPE_PREFILTER = (1u << 9u), - SYMBOL_TYPE_POSTFILTER = (1u << 10u), - SYMBOL_TYPE_NOSTAT = (1u << 11u), /* Skip as statistical symbol */ - SYMBOL_TYPE_IDEMPOTENT = (1u << 12u), /* Symbol cannot change metric */ + SYMBOL_TYPE_CONNFILTER = (1u << 9u), /* Connection stage filter */ + SYMBOL_TYPE_PREFILTER = (1u << 10u), + SYMBOL_TYPE_POSTFILTER = (1u << 11u), + SYMBOL_TYPE_NOSTAT = (1u << 12u), /* Skip as statistical symbol */ + SYMBOL_TYPE_IDEMPOTENT = (1u << 13u), /* Symbol cannot change metric */ SYMBOL_TYPE_TRIVIAL = (1u << 14u), /* Symbol is trivial */ SYMBOL_TYPE_MIME_ONLY = (1u << 15u), /* Symbol is mime only */ SYMBOL_TYPE_EXPLICIT_DISABLE = (1u << 16u), /* Symbol should be disabled explicitly only */ |