Refactoring the cleaning of MATCHED_VAR* variables

This commit is contained in:
Ervin Hegedus
2025-07-25 14:33:24 +02:00
parent 9a8ce8b5f5
commit bb70ff06a4
8 changed files with 594 additions and 26 deletions

View File

@@ -59,7 +59,6 @@ class RuleWithOperator : public RuleWithActions {
static void updateMatchedVars(Transaction *trasn, const std::string &key,
const std::string &value);
static void cleanMatchedVars(Transaction *trasn);
const std::string& getOperatorName() const;

View File

@@ -80,6 +80,8 @@ class RulesSet : public RulesSetProperties {
void debug(int level, const std::string &id, const std::string &uri,
const std::string &msg);
static void cleanMatchedVars(Transaction *trans);
RulesSetPhases m_rulesSetPhases;
private:
#ifndef NO_LOGS