10
stream.go
10
stream.go
@ -881,8 +881,9 @@ func (a *csAttempt) recvMsg(m interface{}, payInfo *payloadInfo) (err error) {
|
|||||||
RecvTime: time.Now(),
|
RecvTime: time.Now(),
|
||||||
Payload: m,
|
Payload: m,
|
||||||
// TODO truncate large payload.
|
// TODO truncate large payload.
|
||||||
Data: payInfo.uncompressedBytes,
|
Data: payInfo.uncompressedBytes,
|
||||||
Length: len(payInfo.uncompressedBytes),
|
WireLength: payInfo.wireLength,
|
||||||
|
Length: len(payInfo.uncompressedBytes),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if channelz.IsOn() {
|
if channelz.IsOn() {
|
||||||
@ -1467,8 +1468,9 @@ func (ss *serverStream) RecvMsg(m interface{}) (err error) {
|
|||||||
RecvTime: time.Now(),
|
RecvTime: time.Now(),
|
||||||
Payload: m,
|
Payload: m,
|
||||||
// TODO truncate large payload.
|
// TODO truncate large payload.
|
||||||
Data: payInfo.uncompressedBytes,
|
Data: payInfo.uncompressedBytes,
|
||||||
Length: len(payInfo.uncompressedBytes),
|
WireLength: payInfo.wireLength,
|
||||||
|
Length: len(payInfo.uncompressedBytes),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if ss.binlog != nil {
|
if ss.binlog != nil {
|
||||||
|
Reference in New Issue
Block a user