mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
committed by
Klemens Morgenstern
parent
0e5cf9ff79
commit
42b6387ae4
@ -102,11 +102,11 @@ class message_generator_test : public beast::unit_test::suite
|
|||||||
|
|
||||||
// only rvalue refs
|
// only rvalue refs
|
||||||
BOOST_STATIC_ASSERT(
|
BOOST_STATIC_ASSERT(
|
||||||
not std::is_constructible<
|
! std::is_constructible<
|
||||||
message_generator,
|
message_generator,
|
||||||
message<true, string_body>&>::value);
|
message<true, string_body>&>::value);
|
||||||
BOOST_STATIC_ASSERT(
|
BOOST_STATIC_ASSERT(
|
||||||
not std::is_constructible<
|
! std::is_constructible<
|
||||||
message_generator,
|
message_generator,
|
||||||
message<true, string_body> const&>::value);
|
message<true, string_body> const&>::value);
|
||||||
|
|
||||||
|
@ -386,6 +386,7 @@ public:
|
|||||||
net::io_context ioc;
|
net::io_context ioc;
|
||||||
test::stream ts{ioc,
|
test::stream ts{ioc,
|
||||||
"GET / HTTP/1.1\r\n\r\n"};
|
"GET / HTTP/1.1\r\n\r\n"};
|
||||||
|
ts.close(); // make sure the read completes
|
||||||
BEAST_EXPECT(handler::count() == 0);
|
BEAST_EXPECT(handler::count() == 0);
|
||||||
multi_buffer b;
|
multi_buffer b;
|
||||||
request<dynamic_body> m;
|
request<dynamic_body> m;
|
||||||
|
Reference in New Issue
Block a user