]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Check gtube in larger messages
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 29 Dec 2017 18:00:37 +0000 (18:00 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 29 Dec 2017 18:00:37 +0000 (18:00 +0000)
src/libmime/message.c

index bfbb97745e89c150ed12b14de32289cb659f9fff..a2ea7d68599a379b7e14c97ad2c391b7617a1ff3 100644 (file)
@@ -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);