From: Daniel Gruno Date: Mon, 30 Jul 2012 09:36:44 +0000 (+0000) Subject: mod_lua: Remember to set cfg->codecache to AP_LUA_CACHE_UNSET when creating a config X-Git-Tag: 2.5.0-alpha~6564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664f924857ec238239708e8ea12cc3b3f3d8cdb7;p=thirdparty%2Fapache%2Fhttpd.git mod_lua: Remember to set cfg->codecache to AP_LUA_CACHE_UNSET when creating a config git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1367048 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index e2669109c67..d862c53cf23 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -1236,6 +1236,7 @@ static void *create_dir_config(apr_pool_t *p, char *dir) cfg->hooks = apr_hash_make(p); cfg->dir = apr_pstrdup(p, dir); cfg->vm_scope = AP_LUA_SCOPE_UNSET; + cfg->codecache = AP_LUA_CACHE_UNSET; return cfg; }