clipboard: good places to dump the raw byte stream.
Change-Id: Idb81bd9f1e090ad337c3f98c03c4fd79f7da51a6
This commit is contained in:
parent
cec522e4a1
commit
00a4fc0cd7
2 changed files with 2 additions and 0 deletions
|
@ -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, };
|
||||
|
|
|
@ -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) &&
|
||||
|
|
Loading…
Reference in a new issue