aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-10 12:14:34 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-10 12:14:34 +0100
commit22635b8af7f1eaa781ee1f352f5f5ef4d5b93fa9 (patch)
tree6d4a84972dc35dc0c3b26ededb592c6a08f1573a /src
parentdaec65bd2a68c04b9144dff91c863cfd2cb30b93 (diff)
downloadrspamd-22635b8af7f1eaa781ee1f352f5f5ef4d5b93fa9.tar.gz
rspamd-22635b8af7f1eaa781ee1f352f5f5ef4d5b93fa9.zip
[Minor] Apply idempotent filters to skipped messages
Diffstat (limited to 'src')
-rw-r--r--src/libserver/task.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 437bc4829..7d00693bc 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -841,7 +841,9 @@ rspamd_task_process (struct rspamd_task *task, guint stages)
}
if (RSPAMD_TASK_IS_SKIPPED (task)) {
- task->processed_stages |= RSPAMD_TASK_STAGE_DONE;
+ /* Set all bits except idempotent filters */
+ task->processed_stages |= 0x7FFF;
+ return rspamd_task_process (task, stages);
}
task->flags &= ~RSPAMD_TASK_FLAG_PROCESSING;