diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/regexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 27cbf924f..59f5427df 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -126,6 +126,7 @@ regexp_module_config (struct rspamd_config *cfg) if (g_ascii_strncasecmp (ucl_object_key (value), "max_size", sizeof ("max_size") - 1) == 0) { regexp_module_ctx->max_size = ucl_obj_toint (value); + rspamd_mime_expression_set_re_limit (regexp_module_ctx->max_size); } else if (g_ascii_strncasecmp (ucl_object_key (value), "max_threads", sizeof ("max_threads") - 1) == 0) { |