Squashed commit of the following:
commit
331a95b730158cc56ffeb6fb8ea24826a78ebe7c
Author: mdagon <mdagon@cisco.com>
Date: Wed Oct 17 14:53:38 2018 -0400
thread_idle: call timeout flows with packet time for pcap replay
{
pause();
Snort::clear_pause();
+ snort::LogMessage("== paused\n");
}
if (handle_command())
continue;
{
// FIXIT-L this whole thing could be pub-sub
DataBus::publish(THREAD_IDLE_EVENT, nullptr);
- Stream::timeout_flows(time(nullptr));
+ if (SnortConfig::read_mode())
+ Stream::timeout_flows(packet_time());
+ else
+ Stream::timeout_flows(time(nullptr));
aux_counts.idle++;
HighAvailabilityManager::process_receive();
}