From bb7cc6f5e3231bbaf32e424b3940ebc786367cbe Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Thu, 2 Sep 2021 21:15:02 +0200 Subject: [PATCH] http: increase tracked files for ranges as well --- src/app-layer-htp-file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app-layer-htp-file.c b/src/app-layer-htp-file.c index e176953399..531a4438c0 100644 --- a/src/app-layer-htp-file.c +++ b/src/app-layer-htp-file.c @@ -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");