[libsoup/autobahn-integration-new: 12/23] soup-websocket-connection.c: replace g_warning for g_debug




commit 117c0b19de48d889da25f748c685463c254dac6a
Author: Diego Pino Garcia <dpino igalia com>
Date:   Fri Jan 29 20:33:49 2021 +0800

    soup-websocket-connection.c: replace g_warning for g_debug

 libsoup/websocket/soup-websocket-connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/websocket/soup-websocket-connection.c b/libsoup/websocket/soup-websocket-connection.c
index 76b929a6..48c80308 100644
--- a/libsoup/websocket/soup-websocket-connection.c
+++ b/libsoup/websocket/soup-websocket-connection.c
@@ -502,7 +502,7 @@ send_message (SoupWebsocketConnection *self,
        /* If control message, check payload size */
        if (opcode & 0x08) {
                if (length > 125) {
-                       g_warning ("WebSocket control message payload exceeds size limit");
+                       g_debug ("WebSocket control message payload exceeds size limit");
                        protocol_error_and_close (self);
                        g_byte_array_free (bytes, TRUE);
                        g_bytes_unref (filtered_bytes);


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