buger/goreplay

Under the same pcap file, gor has various and random outputs.

dramenk opened this issue · 1 comments

testing.pcap.gz contains a POST request and its response.

I execute ./gor --input-raw testing.pcap:80 --input-raw-track-response --input-raw-engine pcap_file --output-stdout several times, but it seems that the outputs are not the same. Most of the time there is no problem, but sometimes (maybe 1/4?) the response will be lost, or both the request and response are lost.

I think this tool is very useful, but this problem really bothers me. Does anyone know the reason?

I use https://github.com/buger/goreplay/releases/download/1.3.3/gor_1.3.3_mac.tar.gz:
2023-01-19 03 51 45

er.. The reason seems the data message and quit signal (file handles done) arrives in same time...