summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/helpers.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/helpers.hpp b/test/helpers.hpp
index 9aa15d518..1a0205475 100644
--- a/test/helpers.hpp
+++ b/test/helpers.hpp
@@ -289,7 +289,8 @@ std::vector<char> getResponseMessage(LOOLWebSocket& ws, const std::string& prefi
if (bytes <= 0)
{
- break;
+ // Try again, timeout will be handled above.
+ continue;
}
if ((flags & Poco::Net::WebSocket::FRAME_OP_BITMASK) != Poco::Net::WebSocket::FRAME_OP_CLOSE)