Fix websocket failure tests

This commit is contained in:
Vinnie Falco
2016-10-14 14:03:16 -04:00
parent 14f13cc74a
commit bfaa4d2530
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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 =