aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.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/libserver/rspamd_control.c
parent1ad42d3b00442d7122b16c72d1226f6c2b0e133f (diff)
downloadrspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.tar.gz
rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.zip
[Feature] Implement SSL support in http client
Diffstat (limited to 'src/libserver/rspamd_control.c')
-rw-r--r--src/libserver/rspamd_control.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c
index a925c0bb1..da573fa94 100644
--- a/src/libserver/rspamd_control.c
+++ b/src/libserver/rspamd_control.c
@@ -503,8 +503,13 @@ rspamd_control_process_client_socket (struct rspamd_main *rspamd_main,
session = g_slice_alloc0 (sizeof (*session));
session->fd = fd;
- session->conn = rspamd_http_connection_new (NULL, rspamd_control_error_handler,
- rspamd_control_finish_handler, 0, RSPAMD_HTTP_SERVER, NULL);
+ session->conn = rspamd_http_connection_new (NULL,
+ rspamd_control_error_handler,
+ rspamd_control_finish_handler,
+ 0,
+ RSPAMD_HTTP_SERVER,
+ NULL,
+ NULL);
session->rspamd_main = rspamd_main;
rspamd_http_connection_read_message (session->conn, session, session->fd,
&io_timeout, rspamd_main->ev_base);