From: Vsevolod Stakhov Date: Fri, 2 Oct 2020 15:39:47 +0000 (+0100) Subject: [Fix] Fix handling of skip/skip_process http flags X-Git-Tag: 2.7~268 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f38bb795084936908b640e6d8fbd9e2b5d577fcf;p=rspamd.git [Fix] Fix handling of skip/skip_process http flags --- diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 9d1276064..31b0308cb 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -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);