aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-10-02 16:39:47 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-10-02 16:42:28 +0100
commitf38bb795084936908b640e6d8fbd9e2b5d577fcf (patch)
tree261b8a857a40799b87ba78663c35255b01f0d3d3 /src/libserver/protocol.c
parent2f08b1b2e3a56acea2ca577a460b7a46705c7798 (diff)
downloadrspamd-f38bb795084936908b640e6d8fbd9e2b5d577fcf.tar.gz
rspamd-f38bb795084936908b640e6d8fbd9e2b5d577fcf.zip
[Fix] Fix handling of skip/skip_process http flags
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c3
1 files changed, 2 insertions, 1 deletions
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);