修正数据包读取问题

This commit is contained in:
lwch
2021-08-24 18:52:12 +08:00
parent 3a47ec4def
commit f4cafc0ffd
+1 -1
View File
@@ -20,7 +20,7 @@ type Conn struct {
c net.Conn
lockRead sync.Mutex
lockWrite sync.Mutex
sizeRead [6]byte
sizeRead [2]byte
}
// NewConn create connection