[Libreoffice-commits] online.git: Branch 'libreoffice-6-1' - net/Socket.cpp

Michael Meeks michael.meeks at collabora.com
Fri Jun 15 14:41:47 UTC 2018


 net/Socket.cpp |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit cb32c9228499edc8ba17bb61092b08c4984b4a5c
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Tue Jun 5 15:39:12 2018 +0100

    Outgoing websocket - remove silly stuff.
    
    Change-Id: I53d763158007221e9df327ec9d3b07ad2029cbfd

diff --git a/net/Socket.cpp b/net/Socket.cpp
index 4d58ff949..dddfe4fc0 100644
--- a/net/Socket.cpp
+++ b/net/Socket.cpp
@@ -188,14 +188,11 @@ void SocketPoll::insertNewWebSocketSync(const Poco::URI &uri, const std::shared_
                         oss << "GET " << uri.getPathAndQuery() << " HTTP/1.1\r\n"
                             "Connection:Upgrade\r\n"
                             "User-Foo: Adminbits\r\n"
-                            "Sec-WebSocket-Key: GAcwqP21iVOY2yKefQ64c0yVN5M=\r\n"
+                            "Sec-WebSocket-Key:fxTaWTEMVhq1PkWsMoLxGw==\r\n"
                             "Upgrade:websocket\r\n"
-                            "Accept-Encoding:gzip, deflate, br\r\n"
                             "Accept-Language:en\r\n"
                             "Cache-Control:no-cache\r\n"
                             "Pragma:no-cache\r\n"
-                            "Sec-WebSocket-Extensions:permessage-deflate; client_max_window_bits\r\n"
-                            "Sec-WebSocket-Key:fxTaWTEMVhq1PkWsMoLxGw==\r\n"
                             "Sec-WebSocket-Version:13\r\n"
                             "User-Agent: " << WOPI_AGENT_STRING << "\r\n"
                             "\r\n";


More information about the Libreoffice-commits mailing list