summaryrefslogtreecommitdiff
path: root/src/plop_httputil.erl
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2016-11-22 14:35:36 +0100
committerMagnus Ahltorp <map@kth.se>2016-11-22 14:35:36 +0100
commit885c44e472843e1646687c071e9277da92d991e8 (patch)
treef48d443631f0a7fa57caa31bfbf46352814263c6 /src/plop_httputil.erl
parent8826eb502c73df3a512a2d257f4264d68a10e1c8 (diff)
Make certain operations parallelexperimental-opt
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}]}}