From 2b17f28a321c5ca9edf2fca54199a178bf75efa1 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Tue, 16 Dec 2025 19:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/pkg/github.com/name5566/leaf/network/ws_conn.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/pkg/github.com/name5566/leaf/network/ws_conn.go b/src/server/pkg/github.com/name5566/leaf/network/ws_conn.go index 740564ff..ec6acec7 100644 --- a/src/server/pkg/github.com/name5566/leaf/network/ws_conn.go +++ b/src/server/pkg/github.com/name5566/leaf/network/ws_conn.go @@ -101,6 +101,7 @@ func (wsConn *WSConn) ReadMsg() ([]byte, error) { // args must not be modified by the others goroutines func (wsConn *WSConn) WriteMsg(args ...[]byte) error { + log.Debug("%d;%s", len(args[0]), string(args[0])) wsConn.Lock() defer wsConn.Unlock() if wsConn.closeFlag {