mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 05:17:26 +02:00
committed by
Klemens Morgenstern
parent
5032a20d9d
commit
334b9871be
@ -68,8 +68,9 @@ struct stream<NextLayer, deflateSupported>::impl_type
|
|||||||
impl_type>(this->detail::service::
|
impl_type>(this->detail::service::
|
||||||
impl_type::shared_from_this());
|
impl_type::shared_from_this());
|
||||||
}
|
}
|
||||||
|
using executor_type = typename std::decay<NextLayer>::type::executor_type;
|
||||||
net::steady_timer timer; // used for timeouts
|
typename net::steady_timer::rebind_executor<executor_type>::other
|
||||||
|
timer; // used for timeouts
|
||||||
close_reason cr; // set from received close frame
|
close_reason cr; // set from received close frame
|
||||||
control_cb_type ctrl_cb; // control callback
|
control_cb_type ctrl_cb; // control callback
|
||||||
|
|
||||||
|
@ -15,6 +15,12 @@
|
|||||||
namespace boost {
|
namespace boost {
|
||||||
namespace beast {
|
namespace beast {
|
||||||
|
|
||||||
|
// compile test for other exec
|
||||||
|
template class basic_stream<
|
||||||
|
net::ip::tcp,
|
||||||
|
net::io_context::executor_type,
|
||||||
|
unlimited_rate_policy> ;
|
||||||
|
|
||||||
class tcp_stream_test
|
class tcp_stream_test
|
||||||
: public beast::unit_test::suite
|
: public beast::unit_test::suite
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user