static int lua_handler(request_rec *r)
{
ap_lua_dir_cfg *dcfg;
+ apr_pool_t *pool;
if (strcmp(r->handler, "lua-script")) {
return DECLINED;
}
lua_State *L;
const ap_lua_dir_cfg *cfg = ap_get_module_config(r->per_dir_config,
&lua_module);
- ap_lua_request_cfg *rcfg = ap_get_module_config(r->request_config,
- &lua_module);
-
ap_lua_vm_spec *spec = NULL;
spec = apr_pcalloc(r->pool, sizeof(ap_lua_vm_spec));
spec->file,
"handle");
- apr_pool_t *pool;
switch (dcfg->vm_scope) {
case AP_LUA_SCOPE_ONCE:
apr_pool_create(&pool, r->pool);