mirror of https://github.com/40t/go-sniffer.git
fix
This commit is contained in:
parent
c9248d507a
commit
c359375104
|
@ -188,6 +188,9 @@ func (stm *stream) resolve() {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case packet := <- stm.packets:
|
case packet := <- stm.packets:
|
||||||
|
if packet.length == 0 {
|
||||||
|
break
|
||||||
|
}
|
||||||
if packet.isClientFlow {
|
if packet.isClientFlow {
|
||||||
stm.resolveClientPacket(packet.payload, packet.seq)
|
stm.resolveClientPacket(packet.payload, packet.seq)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue