aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-29 18:00:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-12-29 18:00:37 +0000
commit11b9c907273fc939e3b75f4c6ee64146671904c9 (patch)
tree7fc37a575b3cc184dd0e5fcb217aedb5a5a36e88 /src/libmime
parentc520328e1944e4c0a9d706b0d38de6d61a975982 (diff)
downloadrspamd-11b9c907273fc939e3b75f4c6ee64146671904c9.tar.gz
rspamd-11b9c907273fc939e3b75f4c6ee64146671904c9.zip
[Minor] Check gtube in larger messages
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c
index bfbb97745..a2ea7d685 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -674,7 +674,7 @@ rspamd_multipattern_gtube_cb (struct rspamd_multipattern *mp,
static enum rspamd_action_type
rspamd_check_gtube (struct rspamd_task *task, struct rspamd_mime_text_part *part)
{
- static const gsize max_check_size = 4 * 1024;
+ static const gsize max_check_size = 8 * 1024;
gint ret;
enum rspamd_action_type act = METRIC_ACTION_NOACTION;
g_assert (part != NULL);