expand tcp cahce size
This commit is contained in:
parent
9019572bd1
commit
2ec4b29051
|
@ -71,7 +71,7 @@ func initEthernetHandlerFromPacpgo() (handler *pcapgo.EthernetHandle) {
|
||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
_ = handler.SetCaptureLength(65535)
|
_ = handler.SetCaptureLength(1024*1024*5)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,9 +18,9 @@ type QueryPiece interface {
|
||||||
|
|
||||||
// MysqlQueryPiece 查询信息
|
// MysqlQueryPiece 查询信息
|
||||||
type MysqlQueryPiece struct {
|
type MysqlQueryPiece struct {
|
||||||
SessionID *string `json:"-"`
|
SessionID *string `json:"cid"`
|
||||||
ClientHost *string `json:"cip"`
|
ClientHost *string `json:"-"`
|
||||||
ClientPort int `json:"cport"`
|
ClientPort int `json:"-"`
|
||||||
SyncSend bool `json:"-"`
|
SyncSend bool `json:"-"`
|
||||||
ServerIP *string `json:"sip"`
|
ServerIP *string `json:"sip"`
|
||||||
ServerPort int `json:"sport"`
|
ServerPort int `json:"sport"`
|
||||||
|
|
Loading…
Reference in New Issue