loolwsd/test/httpwstest.cpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit bea5963aa78105ea9b1902bcffe31538c7404b23
Author: Henry Castro <[email protected]>
Date:   Thu Apr 14 12:00:32 2016 -0400

    loolwsd: avoid time out exception

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 950c98f..046230e 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -199,6 +199,7 @@ void HTTPWSTest::testHandShake()
         std::string payload("statusindicator: find");
 
         std::string receive;
+        socket.setReceiveTimeout(0);
         bytes = socket.receiveFrame(buffer, sizeof(buffer), flags);
         CPPUNIT_ASSERT_EQUAL((int) payload.size(), bytes);
         CPPUNIT_ASSERT(payload.compare(0, payload.size(), buffer, 0, bytes) == 
0);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to