summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-02 17:27:51 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-02 17:27:51 +0100
commit906eff799f483b8240f7cd2a1fce78cfe3da5edc (patch)
treec44c95d137e8afabb1f86e1e593b316c0c69ac73 /src/controller.c
parent1f55d8d46959b9661f5c4539cedd8a3ddfc2950a (diff)
downloadrspamd-906eff799f483b8240f7cd2a1fce78cfe3da5edc.tar.gz
rspamd-906eff799f483b8240f7cd2a1fce78cfe3da5edc.zip
[Feature] Initial support of self-scan in Rspamd proxy
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index ad24e5034..7214aa59f 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1876,7 +1876,7 @@ rspamd_controller_scan_reply (struct rspamd_task *task)
msg = rspamd_http_new_message (HTTP_RESPONSE);
msg->date = time (NULL);
msg->code = 200;
- rspamd_protocol_http_reply (msg, task);
+ rspamd_protocol_http_reply (msg, task, NULL);
rspamd_http_connection_reset (conn_ent->conn);
rspamd_http_connection_write_message (conn_ent->conn, msg, NULL,
"application/json", conn_ent, conn_ent->conn->fd, conn_ent->rt->ptv,