Fix incorrect websocket test ordering

This commit is contained in:
Richard Hodges
2021-03-26 09:30:11 +01:00
parent 31a1fb332a
commit c3e83439dd
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
* Fix incorrect websocket test ordering.
* Fix missing check for error code after header is parsed.
* Fix case where inflated content is larger than the out buffer.

View File

@ -645,7 +645,7 @@ public:
BOOST_THROW_EXCEPTION(
system_error{ec});
BEAST_EXPECT(n == s.size());
BEAST_EXPECT(++count == 1);
++count;
});
ws.async_ping({},
[&](error_code ec)