mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Reverting r1369758
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369763 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -129,7 +129,6 @@ static void ap_lua_release_state(lua_State* L, ap_lua_vm_spec* spec, request_rec
|
||||
|
||||
#if APR_HAS_THREADS
|
||||
extern void ap_lua_init_mutex(apr_pool_t *pool, server_rec *s);
|
||||
extern int ap_lua_register_mutex(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp);
|
||||
#endif
|
||||
|
||||
static ap_lua_vm_spec *create_vm_spec(apr_pool_t **lifecycle_pool,
|
||||
@@ -1599,7 +1598,6 @@ static void lua_register_hooks(apr_pool_t *p)
|
||||
APR_HOOK_REALLY_FIRST);
|
||||
ap_hook_handler(lua_map_handler, NULL, NULL, AP_LUA_HOOK_FIRST);
|
||||
#if APR_HAS_THREADS
|
||||
ap_hook_pre_config(ap_lua_register_mutex, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
ap_hook_child_init(ap_lua_init_mutex, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
#endif
|
||||
/* providers */
|
||||
|
Reference in New Issue
Block a user