Skip to content

Commit 8cfd04e

Browse files
authored
Merge branch 'cppalliance:develop' into develop
2 parents 318ea72 + 5f16b6b commit 8cfd04e

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ set(BOOST_HTTP_DEPENDENCIES
5858
Boost::capy
5959
Boost::config
6060
Boost::core
61+
Boost::corosio
6162
Boost::json
6263
Boost::mp11
6364
Boost::static_assert

build/Jamfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ lib boost_http
4343
: http_sources
4444
: requirements
4545
<library>/boost//capy
46+
<library>/boost/corosio//boost_corosio
4647
<library>/boost/json//boost_json/<warnings-as-errors>off
4748
<library>/boost//url
4849
<include>../
@@ -51,6 +52,7 @@ lib boost_http
5152
<target-os>darwin:<linkflags>"-framework Security"
5253
: usage-requirements
5354
<library>/boost//capy
55+
<library>/boost/corosio//boost_corosio
5456
<library>/boost/json//boost_json/<warnings-as-errors>off
5557
<library>/boost//url
5658
<target-os>windows:<library>bcrypt_sys

include/boost/http/server/route_handler.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#include <boost/http/detail/config.hpp>
1414
#include <boost/http/server/router_types.hpp>
15-
#include <boost/capy/any_bufref.hpp>
15+
#include <boost/corosio/io_buffer_param.hpp>
1616
#include <boost/capy/buffers.hpp>
1717
#include <boost/capy/datastore.hpp>
1818
#include <boost/capy/task.hpp>
@@ -242,7 +242,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
242242
route_task
243243
write(Buffers const& buffers)
244244
{
245-
return write_impl(capy::any_bufref(buffers));
245+
return write_impl(corosio::io_buffer_param(buffers));
246246
}
247247

248248
/** Complete a streaming response.
@@ -284,7 +284,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
284284
285285
@return A task that completes when the write is done.
286286
*/
287-
virtual route_task write_impl(capy::any_bufref buffers) = 0;
287+
virtual route_task write_impl(corosio::io_buffer_param buffers) = 0;
288288
};
289289

290290
} // http

test/unit/server/test_route_handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct test_route_params : route_params
2424
co_return {};
2525
}
2626

27-
route_task write_impl(capy::any_bufref) override
27+
route_task write_impl(corosio::io_buffer_param) override
2828
{
2929
co_return {};
3030
}

0 commit comments

Comments
 (0)