mirror of
				https://github.com/40t/go-sniffer.git
				synced 2025-11-04 11:01:55 +08:00 
			
		
		
		
	@@ -188,10 +188,12 @@ func (stm *stream) resolve() {
 | 
			
		||||
	for {
 | 
			
		||||
		select {
 | 
			
		||||
		case packet := <- stm.packets:
 | 
			
		||||
			if packet.isClientFlow {
 | 
			
		||||
				stm.resolveClientPacket(packet.payload, packet.seq)
 | 
			
		||||
			} else {
 | 
			
		||||
				stm.resolveServerPacket(packet.payload, packet.seq)
 | 
			
		||||
			if packet.length != 0 {
 | 
			
		||||
				if packet.isClientFlow {
 | 
			
		||||
					stm.resolveClientPacket(packet.payload, packet.seq)
 | 
			
		||||
				} else {
 | 
			
		||||
					stm.resolveServerPacket(packet.payload, packet.seq)
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user