pcap_parser::LegacyPcapReader handles short reads poorly.
vi opened this issue · 4 comments
vi commented
Feeding pcap file to the parser slowly and incrementally may lead to Error: Incomplete read
or endless loop with PcapError::Incomplete
without syscalls (despite of reader.refill().unwrap()
).
vi commented
Swapping the parsing lib to pcap_file::PcapReader
makes issues go away.
chifflier commented
Hi,
I'm not sure, but this may be related to 7335348
A new minor release is due soon (including the above commit).
chifflier commented
0.13.1 is release, can you confirm if the problem is fixed? If not, can you provide more details and/or some code?
Thanks
chifflier commented
Closing due to lack of new information.
Bug should be fixed since 0.13.1, please reopen issue if needed.