summaryrefslogtreecommitdiff
path: root/src/plop_httputil.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plop_httputil.erl')
-rw-r--r--src/plop_httputil.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plop_httputil.erl b/src/plop_httputil.erl
index 37e25c1..e43e18c 100644
--- a/src/plop_httputil.erl
+++ b/src/plop_httputil.erl
@@ -67,7 +67,8 @@ request(DebugTag, URL, Headers, RequestBody) ->
lager:debug("~s: sending http request to ~p",
[DebugTag, URL]),
case hackney:connect(ParsedURL,
- [{ssl_options, [{cacertfile, CACertFile},
+ [{pool, default},
+ {ssl_options, [{cacertfile, CACertFile},
{verify, verify_peer},
{verify_fun, {fun verify_fun/3,
[{check_hostname, Host}]}}