From 753c66369fc91a1f39f02de830aa9c3afe2a9108 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 23 Apr 2016 15:26:20 +0100 Subject: [PATCH] [Fix] Fix JIT usage for PCRE2 --- src/libutil/regexp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c index df4751d8d..1a097c5b3 100644 --- a/src/libutil/regexp.c +++ b/src/libutil/regexp.c @@ -202,7 +202,6 @@ rspamd_regexp_post_process (rspamd_regexp_t *r) if (pcre2_pattern_info (r->raw_re, PCRE2_INFO_JITSIZE, &jsz) >= 0 && jsz > 0) { r->raw_jstack = pcre2_jit_stack_create (32 * 1024, 512 * 1024, NULL); - r->flags |= RSPAMD_REGEXP_FLAG_DISABLE_JIT; } else { msg_debug ("jit compilation of raw %s is not supported", r->pattern); -- 2.39.5