loolwsd/.gitignore | 1 + loolwsd/test/httpwstest.cpp | 3 +++ 2 files changed, 4 insertions(+)
New commits: commit b420b70154c3af2201771c34418486ae57a04e44 Author: Ashod Nakashian <[email protected]> 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 <[email protected]> Tested-by: Ashod Nakashian <[email protected]> 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 <[email protected]> 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 <[email protected]> Tested-by: Ashod Nakashian <[email protected]> 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"); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
