mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Testing performance enhancements by enabling transformations cache
Also reduce the utilization of dynamic cast.
This commit is contained in:
@@ -36,6 +36,7 @@ class Action {
|
||||
: action_kind(2),
|
||||
action(_action),
|
||||
name(_action),
|
||||
m_isNone(false),
|
||||
temporaryAction(false) {
|
||||
name.erase(0, 2);
|
||||
}
|
||||
@@ -43,6 +44,7 @@ class Action {
|
||||
: action_kind(kind),
|
||||
action(_action),
|
||||
name(_action),
|
||||
m_isNone(false),
|
||||
temporaryAction(false) {
|
||||
name.erase(0, 2);
|
||||
}
|
||||
@@ -94,6 +96,7 @@ class Action {
|
||||
|
||||
virtual void fill_intervention(ModSecurityIntervention *intervention);
|
||||
bool temporaryAction;
|
||||
bool m_isNone;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user