1
This commit is contained in:
parent
7f34cdc03f
commit
8350cae2d3
@ -123,9 +123,6 @@ func (this *WSPListener) decodePacket(conn net.Conn, buf []byte, offset *int, bu
|
||||
msgHead := f5.WSProxyPackHead_C{}
|
||||
msgHead.Read(buf, *offset)
|
||||
|
||||
fmt.Printf("------msgHead.PackLen:%d\n", msgHead.PackLen)
|
||||
fmt.Printf("------msgHead.MsgId:%d\n", msgHead.MsgId)
|
||||
|
||||
if msgHead.MagicCode == f5.NET_MSG_MAGIC_CODE {
|
||||
if bufLen-*offset < int(f5.WSPROXYPACKHEAD_C_SIZE)+int(msgHead.PackLen) {
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user