From b87eb86a42e7d450a71e4b73b4910649b2d34c4e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 19 Oct 2020 15:14:58 +0100 Subject: [Project] Ressurect empty prefilters as connection filters --- src/libserver/rspamd_symcache.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libserver/rspamd_symcache.h') 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 */ -- cgit v1.2.3