diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-11 13:00:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-11 13:00:24 +0100 |
commit | a49a31b3f72d9a744c3bb53f60f7f39614eb7f35 (patch) | |
tree | ace290b79d51d65a64d55d0c27cfad6d96be055b /src/libserver/cfg_utils.c | |
parent | b38a1ad26bbbc0a40bbdddf2b7d6dea6c3bd049a (diff) | |
download | rspamd-a49a31b3f72d9a744c3bb53f60f7f39614eb7f35.tar.gz rspamd-a49a31b3f72d9a744c3bb53f60f7f39614eb7f35.zip |
[Feature] Add limit for number of URLs in Lua
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index be709a051..5851e250f 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -195,6 +195,7 @@ rspamd_config_new (enum rspamd_config_init_flags flags) cfg->log_error_elts = 10; cfg->log_error_elt_maxlen = 1000; cfg->cache_reload_time = 30.0; + cfg->max_lua_urls = 1024; /* Default log line */ cfg->log_format_str = "id: <$mid>,$if_qid{ qid: <$>,}$if_ip{ ip: $,}" |