[libsoup] websocket-connection: log when getting a pong message



commit 2bf701433c5892456109b61b60badea8afdfb8e8
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Oct 17 17:49:55 2016 +0200

    websocket-connection: log when getting a pong message

 libsoup/soup-websocket-connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c
index 8901941..4625716 100644
--- a/libsoup/soup-websocket-connection.c
+++ b/libsoup/soup-websocket-connection.c
@@ -586,6 +586,7 @@ process_contents (SoupWebsocketConnection *self,
                        receive_ping (self, payload, payload_len);
                        break;
                case 0x0A:
+                       g_debug ("received pong message");
                        break;
                default:
                        g_debug ("received unsupported control frame: %d", (int)opcode);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]