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




commit 2a845ec4f62a1f78a30102092ef2dd74ef27ad19
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 19b5cd1a..e3b09652 100644
--- a/libsoup/websocket/soup-websocket-connection.c
+++ b/libsoup/websocket/soup-websocket-connection.c
@@ -505,7 +505,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]