loolwsd/test/helpers.hpp | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 14340097b8f2542001adf03f0c41f62d0d31727c
Author: Ashod Nakashian <[email protected]>
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 <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits