mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
committed by
Damian Jarek
parent
363d5c36d3
commit
1501962b92
@@ -10,6 +10,7 @@ Version 256:
|
||||
* Add 1-element specialization for `buffers_cat`
|
||||
* Fix `buffers_cat` iterator tests
|
||||
* Don't pessimize-move
|
||||
* Use steady_timer type
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -111,7 +111,7 @@ private:
|
||||
boost::optional<http::request_parser<request_body_t, alloc_t>> parser_;
|
||||
|
||||
// The timer putting a time limit on requests.
|
||||
net::basic_waitable_timer<std::chrono::steady_clock> request_deadline_{
|
||||
net::steady_timer request_deadline_{
|
||||
acceptor_.get_executor(), (std::chrono::steady_clock::time_point::max)()};
|
||||
|
||||
// The string-based response message.
|
||||
|
@@ -75,7 +75,7 @@ private:
|
||||
http::response<http::dynamic_body> response_;
|
||||
|
||||
// The timer for putting a deadline on connection processing.
|
||||
net::basic_waitable_timer<std::chrono::steady_clock> deadline_{
|
||||
net::steady_timer deadline_{
|
||||
socket_.get_executor(), std::chrono::seconds(60)};
|
||||
|
||||
// Asynchronously receive a complete request message.
|
||||
|
Reference in New Issue
Block a user