[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/MasterProcessSession.cpp
Henry Castro
hcastro at collabora.com
Sun Sep 27 15:41:45 PDT 2015
loolwsd/MasterProcessSession.cpp | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6fc60667ef16b4b7daa03094e68d1b73e1c5d3d3
Author: Henry Castro <hcastro at collabora.com>
Date: Sun Sep 27 18:41:21 2015 -0400
loolwsd: request new connection when client load document
diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index 405f716..568a7d1 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -305,6 +305,10 @@ bool MasterProcessSession::loadDocument(const char *buffer, int length, StringTo
try
{
URI aUri(_docURL);
+
+ // request new URL session
+ std::string aMessage = "request " + std::to_string(Thread::currentTid()) + " " + _docURL + "\r\n";
+ Util::writeFIFO(LOOLWSD::writerBroker, aMessage.c_str(), aMessage.length());
}
catch(Poco::SyntaxException&)
{
More information about the Libreoffice-commits
mailing list