From fa06340cdcf9c580153ac8ab5a0a39de503c83b3 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Tue, 16 Dec 2025 19:28:09 +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 ec6acec7..9dced22b 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 { + return nil log.Debug("%d;%s", len(args[0]), string(args[0])) wsConn.Lock() defer wsConn.Unlock()