144
144
ngx_http_lua_access_handler_inline(ngx_http_request_t *r)
149
148
ngx_http_lua_loc_conf_t *llcf;
152
150
llcf = ngx_http_get_module_loc_conf(r, ngx_http_lua_module);
157
154
/* load Lua inline script (w/ cache) sp = 1 */
158
155
rc = ngx_http_lua_cache_loadbuffer(L, llcf->access_src.value.data,
159
156
llcf->access_src.value.len,
169
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
172
161
return NGX_HTTP_INTERNAL_SERVER_ERROR;