diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp index 20add313e..93387eef6 100644 --- a/kit/ChildSession.cpp +++ b/kit/ChildSession.cpp @@ -993,6 +993,7 @@ bool ChildSession::setClipboard(const char* buffer, int length, const std::vecto std::getline(stream, command, '\n'); data.read(stream); +// data.dumpState(std::cerr); size_t nInCount = data.size(); size_t pInSizes[nInCount] = { 0, }; diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 0a84bdb09..92c0fa308 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -2152,6 +2152,7 @@ private: StringTokenizer reqPathTokens(request.getURI(), "/?", StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM); if (reqPathTokens.count() > 0 && reqPathTokens[0] == "clipboard") { +// Util::dumpHex(std::cerr, "clipboard:\n", "", socket->getInBuffer()); // lots of data ... handleClipboardRequest(request, message, disposition); } else if (!(request.find("Upgrade") != request.end() && Poco::icompare(request["Upgrade"], "websocket") == 0) &&