smtp: support per-tx file accounting

(cherry picked from commit 0867b0dbcd)
pull/7288/head
Victor Julien 5 years ago committed by Shivani Bhardwaj
parent e137627e72
commit bb0a947b79

@ -380,6 +380,7 @@ static void SMTPNewFile(SMTPTransaction *tx, File *file)
#endif
FlagDetectStateNewFile(tx);
FileSetTx(file, tx->tx_id);
tx->tx_data.files_opened++;
/* set inspect sizes used in file pruning logic.
* TODO consider moving this to the file.data code that

Loading…
Cancel
Save