wsd/LOOLWebSocket.hpp | 1 + 1 file changed, 1 insertion(+) New commits: commit ce9c04d5da32046e9360405c340641f971a0df2e Author: Tor Lillqvist <t...@collabora.com> Date: Fri Dec 2 14:32:11 2016 +0200
Log also the frame as received diff --git a/wsd/LOOLWebSocket.hpp b/wsd/LOOLWebSocket.hpp index 4174591..35074c6 100644 --- a/wsd/LOOLWebSocket.hpp +++ b/wsd/LOOLWebSocket.hpp @@ -109,6 +109,7 @@ public: while (poll(waitTime, Poco::Net::Socket::SELECT_READ)) { const int n = Poco::Net::WebSocket::receiveFrame(buffer, length, flags); + LOG_TRC("Got frame: " << LOOLProtocol::getAbbreviatedFrameDump(buffer, n, flags)); if ((flags & WebSocket::FRAME_OP_BITMASK) == WebSocket::FRAME_OP_PING) { sendFrame(buffer, n, WebSocket::FRAME_FLAG_FIN | WebSocket::FRAME_OP_PONG); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits