File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
include/boost/beast2/server Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717#include < boost/beast2/server/http_stream.hpp>
1818#include < boost/capy/application.hpp>
1919#include < boost/capy/task.hpp>
20- #include < boost/capy/ex/async_run .hpp>
20+ #include < boost/capy/ex/run_async .hpp>
2121#include < boost/corosio/acceptor.hpp>
2222#include < boost/corosio/socket.hpp>
2323#include < boost/corosio/io_context.hpp>
@@ -146,7 +146,7 @@ start()
146146 stopped_ = false ;
147147 for (std::size_t i = 0 ; i < acceptors_.size (); ++i)
148148 {
149- capy::async_run (ioc_.get_executor ())(
149+ capy::run_async (ioc_.get_executor ())(
150150 accept_loop (acceptors_[i], configs_[i]));
151151 }
152152}
@@ -212,7 +212,7 @@ accept_loop(corosio::acceptor& acc, http::acceptor_config config)
212212 }
213213
214214 // Spawn session coroutine
215- capy::async_run (ioc_.get_executor ())(
215+ capy::run_async (ioc_.get_executor ())(
216216 run_session (*free_worker, config));
217217 }
218218}
You can’t perform that action at this time.
0 commit comments