mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-01 22:25:45 +03:00
Adds support to collection using memcache.
This is the initial support to collections using memcache.
This commit is contained in:
@@ -44,6 +44,10 @@
|
||||
#include <yajl/yajl_version.h>
|
||||
#endif /* WITH_YAJL */
|
||||
|
||||
#ifdef WITH_LIBMEMCACHED
|
||||
#include <memcached.h>
|
||||
#endif
|
||||
|
||||
/* ModSecurity structure */
|
||||
|
||||
msc_engine DSOLOCAL *modsecurity = NULL;
|
||||
@@ -62,6 +66,10 @@ apr_file_t DSOLOCAL *guardianlog_fd = NULL;
|
||||
|
||||
char DSOLOCAL *guardianlog_condition = NULL;
|
||||
|
||||
#if WITH_LIBMEMCACHED
|
||||
memcached_st *memcache = NULL;
|
||||
#endif
|
||||
|
||||
unsigned long int DSOLOCAL msc_pcre_match_limit = 0;
|
||||
|
||||
unsigned long int DSOLOCAL msc_pcre_match_limit_recursion = 0;
|
||||
|
||||
Reference in New Issue
Block a user