Fixes to timeout services (experimental)

This commit is contained in:
Vinnie Falco
2018-11-26 15:30:49 -08:00
parent 5cddf63e3b
commit 02fb4983f6
16 changed files with 1432 additions and 375 deletions
+4 -1
View File
@@ -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>