summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/client_https.hpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2017-02-05 18:32:46 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2017-02-05 18:32:46 +0100
commit90c14be17416d8699a29cfea3c2480b1c453637b (patch)
tree054b5b175f94730b433a71498661580654659f1f /src/lib/util/client_https.hpp
parent70051f6c1f009bae411d68a8afa229259504e866 (diff)
Sync with upstream (nw)
Diffstat (limited to 'src/lib/util/client_https.hpp')
-rw-r--r--src/lib/util/client_https.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/client_https.hpp b/src/lib/util/client_https.hpp
index fc1f12bb075..3300ea6865f 100644
--- a/src/lib/util/client_https.hpp
+++ b/src/lib/util/client_https.hpp
@@ -56,7 +56,7 @@ namespace webpp {
socket = std::make_unique<HTTPS>(io_context, m_context);
}
- auto timer = get_timeout_timer();
+ auto timer = get_timeout_timer(config.timeout_connect);
asio::async_connect(socket->lowest_layer(), it, [this, timer]
(const std::error_code &ec, asio::ip::tcp::resolver::iterator /*it*/) {
if (timer)