wsd/LOOLWSD.cpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 82bcd8db732b7be5b3f43e12d5e6ef1cf13d7fea
Author: Jan Holesovsky <[email protected]>
AuthorDate: Thu Jul 25 12:59:18 2019 +0200
Commit: Jan Holesovsky <[email protected]>
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 <[email protected]>
Tested-by: Jan Holesovsky <[email protected]>
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits