From ab05dd7437e7bc16b266efff413a0cf50199cc9b Mon Sep 17 00:00:00 2001 From: aceld Date: Thu, 25 Apr 2019 18:14:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=B0=83=E8=AF=95head?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- znet/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/znet/connection.go b/znet/connection.go index cdfe0e7..990a7d5 100644 --- a/znet/connection.go +++ b/znet/connection.go @@ -105,7 +105,7 @@ func (c *Connection) StartReader() { fmt.Println("read msg head error ", err) break } - fmt.Printf("read headData %+v\n", headData) + //fmt.Printf("read headData %+v\n", headData) //拆包,得到msgid 和 datalen 放在msg中 msg, err := dp.Unpack(headData)