mirror of https://github.com/40t/go-sniffer.git
commit
bf05608086
|
@ -188,6 +188,7 @@ func (stm *stream) resolve() {
|
|||
for {
|
||||
select {
|
||||
case packet := <- stm.packets:
|
||||
if packet.length != 0 {
|
||||
if packet.isClientFlow {
|
||||
stm.resolveClientPacket(packet.payload, packet.seq)
|
||||
} else {
|
||||
|
@ -195,6 +196,7 @@ func (stm *stream) resolve() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (stm *stream) findStmtPacket (srv chan *packet, seq int) *packet {
|
||||
|
|
Loading…
Reference in New Issue