]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
http: increase tracked files for ranges as well
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 2 Sep 2021 19:15:02 +0000 (21:15 +0200)
committerPhilippe Antoine <contact@catenacyber.fr>
Fri, 24 Sep 2021 13:22:09 +0000 (15:22 +0200)
src/app-layer-htp-file.c

index e1769533997b66303e532e32c8a1d41367c737a8..531a4438c06ff955d3b5c8cad556e9355c5055c5 100644 (file)
@@ -301,6 +301,7 @@ int HTPFileOpenWithRange(HtpState *s, HtpTxUserData *txud, const uint8_t *filena
         SCReturnInt(-1);
     }
     FileSetTx(files->tail, txid);
+    txud->tx_data.files_opened++;
 
     if (FileSetRange(files, crparsed.start, crparsed.end) < 0) {
         SCLogDebug("set range failed");