Add to periodic stats print in tapper (#220)

This commit is contained in:
Nimrod Gilboa Markevich
2021-08-16 14:51:01 +03:00
committed by GitHub
parent b4f3b2c540
commit 5d5c11c37c
4 changed files with 95 additions and 42 deletions

View File

@@ -148,6 +148,7 @@ func (t *tcpStream) ReassembledSG(sg reassembly.ScatterGather, ac reassembly.Ass
}
// This is where we pass the reassembled information onwards
// This channel is read by an httpReader object
statsTracker.incReassembledTcpPayloadsCount()
if dir == reassembly.TCPDirClientToServer && !t.reversed {
t.client.msgQueue <- httpReaderDataMsg{data, ac.GetCaptureInfo().Timestamp}
} else {