]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Feature] Add multipattern state machine for async compilation support
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 5 Jan 2026 09:52:59 +0000 (09:52 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 5 Jan 2026 09:52:59 +0000 (09:52 +0000)
commitbde66ced3e9155a2489f3db468e1eecff7f8d58e
tree64035834456e505d2cfb2b5fcc379389450cd9b8
parenta367a5595aa2f0c8cff5aaeccab9130611da5e87
[Feature] Add multipattern state machine for async compilation support

Add state machine (INIT/COMPILING/COMPILED/FALLBACK) to multipattern
for future async hyperscan compilation. Build ACISM fallback for TLD-only
patterns to allow matching while HS compiles. Mixed TLD/non-TLD patterns
use sync compile. Also update cache format to unified .hs extension.
src/libutil/multipattern.c
src/libutil/multipattern.h