[Libreoffice-commits] online.git: 2 commits - loolwsd/.gitignore loolwsd/test

Ashod Nakashian ashod.nakashian at collabora.co.uk
Sun Apr 17 15:27:18 UTC 2016


 loolwsd/.gitignore          |    1 +
 loolwsd/test/httpwstest.cpp |    3 +++
 2 files changed, 4 insertions(+)

New commits:
commit b420b70154c3af2201771c34418486ae57a04e44
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun Apr 17 11:07:31 2016 -0400

    loolwsd: gitignore loolforkit-nocaps
    
    Change-Id: Ide73478726c0341d2679053650b3c89ec7c8dc94
    Reviewed-on: https://gerrit.libreoffice.org/24163
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/.gitignore b/loolwsd/.gitignore
index 9190e91..6ed9529 100644
--- a/loolwsd/.gitignore
+++ b/loolwsd/.gitignore
@@ -46,3 +46,4 @@ loolforkit
 loolmount
 loolmap
 looltool
+loolforkit-nocaps
commit 8b5d702acbc7fe694fce8114e6c97da0f6d1edd0
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Sun Apr 17 11:06:18 2016 -0400

    loolwsd: testBadRequest actually provokes connection error
    
    Change-Id: Ibf12b6b45d6eb34e031ab689983ab3599a58caef
    Reviewed-on: https://gerrit.libreoffice.org/24162
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 9b917af..e7b1414 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -162,6 +162,9 @@ void HTTPWSTest::testBadRequest()
 #else
         Poco::Net::HTTPClientSession session(_uri.getHost(), _uri.getPort());
 #endif
+        // This should result in Bad Request, but results in:
+        // WebSocket Exception: Missing Sec-WebSocket-Key in handshake request
+        // So Service Unavailable is returned.
 
         request.set("Connection", "Upgrade");
         request.set("Upgrade", "websocket");


More information about the Libreoffice-commits mailing list