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

@@ -60,6 +60,13 @@ typedef struct msc_parm msc_parm;
#include "msc_lua.h"
#endif
#ifdef WITH_LIBMEMCACHED
#include <memcached.h>
#endif
#define STORAGE_TYPE_LOCAL 1
#define STORAGE_TYPE_MEMCACHE 2
#define PHASE_REQUEST_HEADERS 1
#define PHASE_REQUEST_BODY 2
#define PHASE_RESPONSE_HEADERS 3
@@ -139,6 +146,10 @@ extern module AP_MODULE_DECLARE_DATA security2_module;
extern DSOLOCAL const command_rec module_directives[];
#if WITH_LIBMEMCACHED
extern DSOLOCAL memcached_st *memcache;
#endif
extern DSOLOCAL unsigned long int msc_pcre_match_limit;
extern DSOLOCAL unsigned long int msc_pcre_match_limit_recursion;
@@ -491,6 +502,7 @@ struct directory_config {
int cookie_format;
int argument_separator;
const char *cookiev0_separator;
int persistent_storage;
int rule_inheritance;
apr_array_header_t *rule_exceptions;