Warming up to the remote collections support

Huge refactoring to have the code in shape to later support the
remote collections with different backends.
This commit is contained in:
Felipe Zimmerle
2016-05-03 13:49:16 -03:00
parent ff165a4035
commit 5643d2fa28
50 changed files with 125 additions and 688 deletions

View File

@@ -93,7 +93,7 @@ typedef struct ModSecurity_t modsecurity;
#include "modsecurity/transaction.h"
#include "modsecurity/debug_log.h"
#include "modsecurity/rules.h"
#include "modsecurity/transaction/global_variables.h"
#include "modsecurity/collection/global_collection.h"
/**
* TAG_NUM:
@@ -223,8 +223,8 @@ class ModSecurity {
NUMBER_OF_PHASES,
};
transaction::GlobalVariables m_global_collection;
transaction::GlobalVariables m_ip_collection;
collection::GlobalCollection m_global_collection;
collection::GlobalCollection m_ip_collection;
private:
std::string m_connector;
LogCb m_logCb;