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 541c140 commit cbf9256Copy full SHA for cbf9256
boost/network/protocol/http/client/connection/sync_normal.hpp
@@ -77,7 +77,7 @@ struct http_sync_connection
77
}
78
79
if (timeout_ > 0) {
80
- timer_.expires_from_now(boost::posix_time::seconds(timeout_));
+ timer_.expires_from_now(std::chrono::seconds(timeout_));
81
auto self = this->shared_from_this();
82
timer_.async_wait([=] (std::error_code const &ec) {
83
self->handle_timeout(ec);
0 commit comments