Adds support to collection using memcache.

This is the initial support to collections using memcache.
This commit is contained in:
Felipe Zimmerle
2014-03-17 12:58:35 -07:00
parent 39caeedf14
commit 0318b10461
19 changed files with 731 additions and 98 deletions

View File

@@ -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;