From 90c14be17416d8699a29cfea3c2480b1c453637b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 5 Feb 2017 18:32:46 +0100 Subject: Sync with upstream (nw) --- src/lib/util/client_https.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/client_https.hpp') 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(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) -- cgit v1.2.3-70-g09d2