[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 25 11:03:30 UTC 2019


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

New commits:
commit 82bcd8db732b7be5b3f43e12d5e6ef1cf13d7fea
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Jul 25 12:59:18 2019 +0200
Commit:     Jan Holesovsky <kendy at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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


More information about the Libreoffice-commits mailing list