[Libreoffice-commits] online.git: loolwsd/LOOLWSD.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sat Jan 30 07:43:25 PST 2016
loolwsd/LOOLWSD.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a956c61b0769ae9690341112c7b4087cc0f4a156
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Tue Jan 26 08:53:01 2016 -0500
loolwsd: logging
Change-Id: Ie81dc0b890fd59d0073b812117762bb0aff0f579
Reviewed-on: https://gerrit.libreoffice.org/21933
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index ed555e8..83d4341 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -482,7 +482,7 @@ private:
void handleGetRequest(HTTPServerRequest& request, HTTPServerResponse& response, const std::string& id)
{
- Log::info("Get request.");
+ Log::info("Starting Get request processor for session [" + id + "].");
auto ws = std::make_shared<WebSocket>(request, response);
auto session = std::make_shared<MasterProcessSession>(id, LOOLSession::Kind::ToClient, ws);
@@ -514,6 +514,7 @@ private:
}
});
+ Log::info("Get request processor for session [" + id + "] finished. Clearing and joining the queue.");
queue.clear();
queue.put("eof");
queueHandlerThread.join();
More information about the Libreoffice-commits
mailing list