aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 14:27:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 17:31:29 +0100
commitbc6a03a1086e8f7d1c1211633f61ee25b12e16a2 (patch)
tree10bf4000b3eb618aab1ba0e1a6b76b9e3b66460d /src/worker.c
parent1ad42d3b00442d7122b16c72d1226f6c2b0e133f (diff)
downloadrspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.tar.gz
rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.zip
[Feature] Implement SSL support in http client
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/worker.c b/src/worker.c
index 81c5b1c63..a099e8177 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -298,13 +298,13 @@ accept_socket (gint fd, short what, void *arg)
/* TODO: allow to disable autolearn in protocol */
task->flags |= RSPAMD_TASK_FLAG_LEARN_AUTO;
- task->http_conn = rspamd_http_connection_new (
- rspamd_worker_body_handler,
- rspamd_worker_error_handler,
- rspamd_worker_finish_handler,
- 0,
- RSPAMD_HTTP_SERVER,
- ctx->keys_cache);
+ task->http_conn = rspamd_http_connection_new (rspamd_worker_body_handler,
+ rspamd_worker_error_handler,
+ rspamd_worker_finish_handler,
+ 0,
+ RSPAMD_HTTP_SERVER,
+ ctx->keys_cache,
+ NULL);
task->ev_base = ctx->ev_base;
worker->nconns++;
rspamd_mempool_add_destructor (task->task_pool,