aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.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/plugins/surbl.c
parent1ad42d3b00442d7122b16c72d1226f6c2b0e133f (diff)
downloadrspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.tar.gz
rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.zip
[Feature] Implement SSL support in http client
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r--src/plugins/surbl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 4cd594b8f..1e0eacff1 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -1329,10 +1329,13 @@ register_redirector_call (struct rspamd_url *url, struct rspamd_task *task,
sizeof (struct redirector_param));
param->url = url;
param->task = task;
- param->conn = rspamd_http_connection_new (NULL, surbl_redirector_error,
+ param->conn = rspamd_http_connection_new (NULL,
+ surbl_redirector_error,
surbl_redirector_finish,
RSPAMD_HTTP_CLIENT_SIMPLE,
- RSPAMD_HTTP_CLIENT, NULL);
+ RSPAMD_HTTP_CLIENT,
+ NULL,
+ NULL);
msg = rspamd_http_new_message (HTTP_REQUEST);
msg->url = rspamd_fstring_assign (msg->url, url->string, url->urllen);
param->sock = s;