mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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
This commit is contained in:
@@ -1236,6 +1236,7 @@ static void *create_dir_config(apr_pool_t *p, char *dir)
|
|||||||
cfg->hooks = apr_hash_make(p);
|
cfg->hooks = apr_hash_make(p);
|
||||||
cfg->dir = apr_pstrdup(p, dir);
|
cfg->dir = apr_pstrdup(p, dir);
|
||||||
cfg->vm_scope = AP_LUA_SCOPE_UNSET;
|
cfg->vm_scope = AP_LUA_SCOPE_UNSET;
|
||||||
|
cfg->codecache = AP_LUA_CACHE_UNSET;
|
||||||
|
|
||||||
return cfg;
|
return cfg;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user