mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Using Collection instead of GlobalCollection
Both has the same methods and characteristics except for the fact that one is global and the other not. That can be handled by the backend.
This commit is contained in:
@@ -93,7 +93,6 @@ typedef struct ModSecurity_t modsecurity;
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "modsecurity/debug_log.h"
|
||||
#include "modsecurity/rules.h"
|
||||
#include "modsecurity/collection/global_collection.h"
|
||||
|
||||
/**
|
||||
* TAG_NUM:
|
||||
@@ -223,8 +222,9 @@ class ModSecurity {
|
||||
NUMBER_OF_PHASES,
|
||||
};
|
||||
|
||||
collection::GlobalCollection m_global_collection;
|
||||
collection::GlobalCollection m_ip_collection;
|
||||
collection::Collection *m_global_collection;
|
||||
collection::Collection *m_ip_collection;
|
||||
|
||||
private:
|
||||
std::string m_connector;
|
||||
LogCb m_logCb;
|
||||
|
Reference in New Issue
Block a user