diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-23 15:26:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-23 15:26:20 +0100 |
commit | 634e405403b35e1055efb4cf4f6b21e516f9e521 (patch) | |
tree | 86f0d4af0172e1c724ba02fa4b860dc5460a4fbc /src/libutil/regexp.c | |
parent | fbe8abd10b1b0c8cb3956f8753e39353484b5336 (diff) | |
download | rspamd-634e405403b35e1055efb4cf4f6b21e516f9e521.tar.gz rspamd-634e405403b35e1055efb4cf4f6b21e516f9e521.zip |
[Fix] Fix JIT usage for PCRE2
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r-- | src/libutil/regexp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |