mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-07 14:39:02 +08:00
修改buffer pool大小
This commit is contained in:
@@ -159,6 +159,7 @@ func (ms *MysqlSession) readFromClient(seqID int64, bytes []byte) {
|
||||
ms.expectReceiveSize = extractMysqlPayloadSize(bytes[:4])
|
||||
// ignore too big mysql packet
|
||||
if ms.expectReceiveSize >= MaxMysqlPacketLen {
|
||||
log.Infof("expect receive size is bigger than max deal size: %d", MaxMysqlPacketLen)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user