mirror of https://github.com/OISF/suricata
dns: optimize tx list walks
The detection engine and log engines can walk the tx list indirectly, by looping AppLayerParserGetTx. This would lead to new list walks in the DNS tx list though. Leading to bad performance. This patch stores the last returned tx and uses that to determine if the next tx is what we need next. If so, we can return that w/o list walk.pull/1391/head
parent
0704ece4d7
commit
0b262cbfda
Loading…
Reference in New Issue