loolwsd/test/helpers.hpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d654c464df309cb8a3a60b568c7cb9f51e1417ec
Author: Tor Lillqvist <t...@collabora.com>
Date:   Mon Sep 19 13:53:14 2016 +0300

    Don't log the contents of CLOSE frames

diff --git a/loolwsd/test/helpers.hpp b/loolwsd/test/helpers.hpp
index 32f009b..2af9070 100644
--- a/loolwsd/test/helpers.hpp
+++ b/loolwsd/test/helpers.hpp
@@ -296,7 +296,8 @@ std::vector<char> getResponseMessage(Poco::Net::WebSocket& 
ws, const std::string
                     break;
                 }
 
-                std::cerr << name << "Ignored: " << message << std::endl;
+                if ((flags & Poco::Net::WebSocket::FRAME_OP_BITMASK) != 
Poco::Net::WebSocket::FRAME_OP_CLOSE)
+                    std::cerr << name << "Ignored: " << message << std::endl;
             }
             else
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to