[Libreoffice-commits] online.git: loolwsd/test
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Wed May 11 03:54:26 UTC 2016
loolwsd/test/helpers.hpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 14340097b8f2542001adf03f0c41f62d0d31727c
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Tue May 10 23:51:22 2016 -0400
loolwsd: break socket reading loop on error
Change-Id: I37ff42a3ccf4b495d0ecec9ea90bd8e12ddc4e8c
Reviewed-on: https://gerrit.libreoffice.org/24869
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/test/helpers.hpp b/loolwsd/test/helpers.hpp
index 126f351..138a724 100644
--- a/loolwsd/test/helpers.hpp
+++ b/loolwsd/test/helpers.hpp
@@ -108,6 +108,7 @@ bool isDocumentLoaded(Poco::Net::WebSocket& ws, std::string name = "")
else
{
std::cerr << name << "Got " << bytes << " bytes, flags: " << std::hex << flags << std::dec << std::endl;
+ break;
}
retries = 10;
More information about the Libreoffice-commits
mailing list