mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Fix websocket failure tests
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
* Refactor base_parser_v1 callback traits:
|
||||
* Refine Parser concept
|
||||
* Relax ForwardIterator requirements in FieldSequence
|
||||
* Fix websocket failure testing
|
||||
* Refine Writer concept and fix exemplar in documentation
|
||||
|
||||
API Changes:
|
||||
|
||||
|
@ -802,7 +802,7 @@ public:
|
||||
using boost::asio::buffer;
|
||||
static std::size_t constexpr limit = 200;
|
||||
std::size_t n;
|
||||
for(n = 199; n < limit; ++n)
|
||||
for(n = 0; n < limit; ++n)
|
||||
{
|
||||
stream<test::fail_stream<socket_type>> ws(n, ios_);
|
||||
auto const restart =
|
||||
@ -1035,7 +1035,7 @@ public:
|
||||
using boost::asio::buffer;
|
||||
static std::size_t constexpr limit = 200;
|
||||
std::size_t n;
|
||||
for(n = 190; n < limit; ++n)
|
||||
for(n = 0; n < limit; ++n)
|
||||
{
|
||||
stream<test::fail_stream<socket_type>> ws(n, ios_);
|
||||
auto const restart =
|
||||
|
Reference in New Issue
Block a user