From: Vsevolod Stakhov Date: Sat, 23 Apr 2016 14:26:20 +0000 (+0100) Subject: [Fix] Fix JIT usage for PCRE2 X-Git-Tag: 1.3.0~653 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=634e405403b35e1055efb4cf4f6b21e516f9e521;p=rspamd.git [Fix] Fix JIT usage for PCRE2 --- 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);