wsd/LOOLWSD.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 82bcd8db732b7be5b3f43e12d5e6ef1cf13d7fea
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Thu Jul 25 12:59:18 2019 +0200
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Thu Jul 25 13:03:09 2019 +0200

    Add a comment where the HULLO response is handled.
    
    Useful for git grep HULLO :-)
    
    Change-Id: Ia7696f91f6452aaab6df95b640ac361b4904d4b5
    Reviewed-on: https://gerrit.libreoffice.org/76300
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index fc5de67a3..d777b38bf 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -2181,6 +2181,8 @@ private:
         socket->eraseFirstInputBytes(map);
 #else
         Poco::Net::HTTPRequest request;
+        // The 2nd parameter is the response to the HULLO message (which we
+        // respond with the path of the document)
         handleClientWsUpgrade(request, 
std::string(socket->getInBuffer().data(), socket->getInBuffer().size()), 
disposition);
         socket->getInBuffer().clear();
 #endif
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to