aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-30 13:41:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-30 13:41:32 +0100
commit69d84ae579a7817e5fac0c64cab4fd3b3d6b1470 (patch)
tree0233f6520ff2cd2a1ac21a30869738582f12dd3a /src/libserver/protocol.c
parentbd61e464bc4a9728429859948d76e2e9303b7d55 (diff)
downloadrspamd-69d84ae579a7817e5fac0c64cab4fd3b3d6b1470.tar.gz
rspamd-69d84ae579a7817e5fac0c64cab4fd3b3d6b1470.zip
Load control chunk.
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index 08e7bc3c3..1f5b1f447 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -397,6 +397,9 @@ rspamd_protocol_handle_headers (struct rspamd_task *task,
msg_err ("Invalid message length header: %s", h->value->str);
validh = FALSE;
}
+ else {
+ task->flags |= RSPAMD_TASK_FLAG_HAS_CONTROL;
+ }
}
else {
validh = FALSE;