summaryrefslogtreecommitdiffstats
path: root/utils/rspamd_http_server.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 /utils/rspamd_http_server.c
parent1ad42d3b00442d7122b16c72d1226f6c2b0e133f (diff)
downloadrspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.tar.gz
rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.zip
[Feature] Implement SSL support in http client
Diffstat (limited to 'utils/rspamd_http_server.c')
-rw-r--r--utils/rspamd_http_server.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/utils/rspamd_http_server.c b/utils/rspamd_http_server.c
index d920c425d..69ef852e6 100644
--- a/utils/rspamd_http_server.c
+++ b/utils/rspamd_http_server.c
@@ -150,8 +150,13 @@ rspamd_server_accept (gint fd, short what, void *arg)
rspamd_inet_address_destroy (addr);
session = g_slice_alloc (sizeof (*session));
- session->conn = rspamd_http_connection_new (NULL, rspamd_server_error,
- rspamd_server_finish, 0, RSPAMD_HTTP_SERVER, c);
+ session->conn = rspamd_http_connection_new (NULL,
+ rspamd_server_error,
+ rspamd_server_finish,
+ 0,
+ RSPAMD_HTTP_SERVER,
+ c,
+ NULL);
rspamd_http_connection_set_key (session->conn, server_key);
rspamd_http_connection_read_message (session->conn,
session,