diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-04-26 22:54:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-04-26 22:54:24 +0100 |
commit | 1a7b7d7076f41651444832f693606f5eca39a624 (patch) | |
tree | 9cf0d1d08e5a46feeb4c7a009b2741d38130c03a /src/libserver/cfg_file.h | |
parent | 017040605f9d14a94d86b9b676dd512ce65d2d1b (diff) | |
download | rspamd-1a7b7d7076f41651444832f693606f5eca39a624.tar.gz rspamd-1a7b7d7076f41651444832f693606f5eca39a624.zip |
[Feature] Add html parsing limit
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 44502ebb7..d7c3789e7 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -478,6 +478,7 @@ struct rspamd_config { gint max_recipients; /**< maximum number of recipients to be processed */ guint max_blas_threads; /**< maximum threads for openblas when learning ANN */ guint max_opts_len; /**< maximum length for all options for a symbol */ + gsize max_html_len; /**< maximum length of HTML document */ struct module_s **compiled_modules; /**< list of compiled C modules */ struct worker_s **compiled_workers; /**< list of compiled C modules */ |