forked from boostorg/beast
Fixes to timeout services (experimental)
This commit is contained in:
@@ -137,7 +137,10 @@ public:
|
||||
std::make_shared<session>(
|
||||
std::move(socket_), log_)->run();
|
||||
acceptor_.async_accept(socket_,
|
||||
[this](error_code ec){ this->on_accept(ec); });
|
||||
[this](error_code ec)
|
||||
{
|
||||
this->on_accept(ec);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
//
|
||||
|
||||
// Test that header file is self-contained.
|
||||
#include <boost/beast/_experimental/core/detail/timeout_work_guard.hpp>
|
||||
#include <boost/beast/_experimental/core/timeout_work_guard.hpp>
|
||||
|
||||
Reference in New Issue
Block a user