]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix handling of skip/skip_process http flags
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Oct 2020 15:39:47 +0000 (16:39 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Oct 2020 15:42:28 +0000 (16:42 +0100)
src/libserver/protocol.c

index 9d127606409fb20d76c4ec480eb4acd53f372faa..31b0308cba0da215e5c634981fce17797c020c11 100644 (file)
@@ -374,7 +374,8 @@ rspamd_protocol_handle_flag (struct rspamd_task *task, const gchar *str,
 
        CHECK_TASK_FLAG("pass_all", RSPAMD_TASK_FLAG_PASS_ALL);
        CHECK_TASK_FLAG("no_log", RSPAMD_TASK_FLAG_NO_LOG);
-       CHECK_TASK_FLAG("skip", RSPAMD_TASK_FLAG_NO_LOG);
+       CHECK_TASK_FLAG("skip", RSPAMD_TASK_FLAG_SKIP);
+       CHECK_TASK_FLAG("skip_process", RSPAMD_TASK_FLAG_SKIP_PROCESS);
        CHECK_TASK_FLAG("no_stat", RSPAMD_TASK_FLAG_NO_STAT);
        CHECK_TASK_FLAG("ssl", RSPAMD_TASK_FLAG_SSL);
        CHECK_TASK_FLAG("profile", RSPAMD_TASK_FLAG_PROFILE);