Skip to content

Commit 3c36ba4

Browse files
committed
sync_normal: change timer to steady_timer
1 parent 6b72054 commit 3c36ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/protocol/http/client/connection/sync_normal.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include <iterator>
1212
#include <functional>
13-
#include <asio/deadline_timer.hpp>
13+
#include <asio/steady_timer.hpp>
1414
#include <asio/streambuf.hpp>
1515
#include <boost/network/protocol/http/algorithms/linearize.hpp>
1616
#include <boost/network/protocol/http/response.hpp>
@@ -132,7 +132,7 @@ struct http_sync_connection
132132
}
133133

134134
int timeout_;
135-
::asio::deadline_timer timer_;
135+
::asio::steady_timer timer_;
136136
resolver_type& resolver_;
137137
resolver_function_type resolve_;
138138
::asio::ip::tcp::socket socket_;

0 commit comments

Comments
 (0)