diff options
author | 2017-02-05 18:32:46 +0100 | |
---|---|---|
committer | 2017-02-05 18:32:46 +0100 | |
commit | 90c14be17416d8699a29cfea3c2480b1c453637b (patch) | |
tree | 054b5b175f94730b433a71498661580654659f1f /src/lib/util/client_https.hpp | |
parent | 70051f6c1f009bae411d68a8afa229259504e866 (diff) |
Sync with upstream (nw)
Diffstat (limited to 'src/lib/util/client_https.hpp')
-rw-r--r-- | src/lib/util/client_https.hpp | 2 |
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) |