smtp: support per-tx file accounting

pull/6324/head
Victor Julien 5 years ago
parent c9cee7af49
commit 0867b0dbcd

@ -397,6 +397,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