loolwsd/LOOLWSD.cpp | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 504ffec64886dab597748c7437659f42d3a1272e
Author: Ashod Nakashian <[email protected]>
Date: Sat Apr 2 17:34:51 2016 -0400
loolwsd: request new child from Broker for convert-to requests
Change-Id: I29ff2a416c04393a2b2875e9ffff429f4e25e4c5
Reviewed-on: https://gerrit.libreoffice.org/23780
Reviewed-by: Ashod Nakashian <[email protected]>
Tested-by: Ashod Nakashian <[email protected]>
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 538ff82..535edb0 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -246,6 +246,11 @@ private:
Log::debug("New DocumentBroker for docKey [" + docKey +
"].");
docBrokers.emplace(docKey, docBroker);
+ // Request a kit process for this doc.
+ const std::string aMessage = "request " + id + " " +
docKey + "\n";
+ Log::debug("MasterToBroker: " + aMessage.substr(0,
aMessage.length() - 1));
+ IoUtil::writeFIFO(LOOLWSD::BrokerWritePipe, aMessage);
+
// Load the document.
std::shared_ptr<WebSocket> ws;
auto session = std::make_shared<MasterProcessSession>(id,
LOOLSession::Kind::ToClient, ws, docBroker, nullptr);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits