diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 14:27:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 17:31:29 +0100 |
commit | bc6a03a1086e8f7d1c1211633f61ee25b12e16a2 (patch) | |
tree | 10bf4000b3eb618aab1ba0e1a6b76b9e3b66460d /src/rspamadm | |
parent | 1ad42d3b00442d7122b16c72d1226f6c2b0e133f (diff) | |
download | rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.tar.gz rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.zip |
[Feature] Implement SSL support in http client
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/control.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c index 52fec99c6..2bdccc876 100644 --- a/src/rspamadm/control.c +++ b/src/rspamadm/control.c @@ -230,9 +230,13 @@ rspamadm_control (gint argc, gchar **argv) L = rspamd_lua_init (); - conn = rspamd_http_connection_new (NULL, rspamd_control_error_handler, - rspamd_control_finish_handler, RSPAMD_HTTP_CLIENT_SIMPLE, - RSPAMD_HTTP_CLIENT, NULL); + conn = rspamd_http_connection_new (NULL, + rspamd_control_error_handler, + rspamd_control_finish_handler, + RSPAMD_HTTP_CLIENT_SIMPLE, + RSPAMD_HTTP_CLIENT, + NULL, + NULL); msg = rspamd_http_new_message (HTTP_REQUEST); msg->url = rspamd_fstring_new_init (path, strlen (path)); double_to_tv (timeout, &tv); |