forked from boostorg/beast
Fix test::stream async_result transformation:
close #1322 async initiating functions must return init.result.get(). Returning the result of post caused a compilation failure for custom completion tokens. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
1 parent
f8b3ae1186
commit
836042fd24
12 files changed
+65
-55
No files matched your search
@@ -578,7 +578,7 @@ operator()(
|
||||
BOOST_ASIO_CORO_YIELD
|
||||
boost::asio::post(
|
||||
ws_.get_executor(),
|
||||
bind_front_handler(
|
||||
beast::bind_front_handler(
|
||||
std::move(*this),
|
||||
ec, bytes_transferred_));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user