File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ do_request(
3535 " Host: " + std::string (host) + " \r\n "
3636 " Connection: close\r\n "
3737 " \r\n " ;
38- ( co_await corosio::write (
39- stream, capy::const_buffer (request.data (), request.size ()))). value () ;
38+ co_await corosio::write (
39+ stream, capy::const_buffer (request.data (), request.size ()));
4040
4141 // Read the entire response
4242 std::string response;
@@ -59,7 +59,7 @@ run_client(
5959 s.open ();
6060
6161 // Connect to the server (throws on error)
62- ( co_await s.connect (corosio::endpoint (addr, port))). value ( );
62+ co_await s.connect (corosio::endpoint (addr, port));
6363
6464 co_await do_request (s, addr.to_string ());
6565}
Original file line number Diff line number Diff line change 2121#include < boost/capy/cond.hpp>
2222#include < boost/capy/ex/run_async.hpp>
2323#include < boost/capy/task.hpp>
24+ #include < boost/url/ipv4_address.hpp>
2425
2526#include " test_suite.hpp"
2627
You can’t perform that action at this time.
0 commit comments