expand tcp cahce size

This commit is contained in:
hebo 2019-08-30 09:43:45 +08:00
parent 9019572bd1
commit 2ec4b29051
2 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ func initEthernetHandlerFromPacpgo() (handler *pcapgo.EthernetHandle) {
panic(err.Error())
}
_ = handler.SetCaptureLength(65535)
_ = handler.SetCaptureLength(1024*1024*5)
return
}

View File

@ -18,9 +18,9 @@ type QueryPiece interface {
// MysqlQueryPiece 查询信息
type MysqlQueryPiece struct {
SessionID *string `json:"-"`
ClientHost *string `json:"cip"`
ClientPort int `json:"cport"`
SessionID *string `json:"cid"`
ClientHost *string `json:"-"`
ClientPort int `json:"-"`
SyncSend bool `json:"-"`
ServerIP *string `json:"sip"`
ServerPort int `json:"sport"`