]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: config keyword transaction logic fix
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 25 Jul 2022 08:33:42 +0000 (10:33 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 24 Jan 2023 12:45:07 +0000 (13:45 +0100)
commit0c0fcc94111b183ae2953f659d14ab2f671fc019
treeb8f352e47f446b01ad14945554e6e6c08ad2dbc1
parent37f13a4fc7356432cfec80852eb1f58da7cc8850
detect: config keyword transaction logic fix

When the keyword config:logging disable,type tx is used,
OutputTxLog checks a flag to skip the transaction without logging
it, but AppLayerParserTransactionsCleanup waits for the
transaction to be marked as logged to clean it.

So, OutputTxLog now marks the tx as logged, so that it can
get cleaned away.

Ticket: #5456
src/output-tx.c