We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c36ba4 commit 541c140Copy full SHA for 541c140
boost/network/protocol/http/client/connection/sync_ssl.hpp
@@ -119,7 +119,7 @@ struct https_sync_connection
119
}
120
121
if (timeout_ > 0) {
122
- timer_.expires_from_now(boost::posix_time::seconds(timeout_));
+ timer_.expires_from_now(std::chrono::seconds(timeout_));
123
auto self = this->shared_from_this();
124
timer_.async_wait(
125
[=](std::error_code const& ec) { self->handle_timeout(ec); });
@@ -173,7 +173,7 @@ struct https_sync_connection
173
174
175
int timeout_;
176
- ::asio::deadline_timer timer_;
+ ::asio::steady_timer timer_;
177
resolver_type& resolver_;
178
resolver_function_type resolve_;
179
::asio::ssl::context context_;
0 commit comments