git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about mod_lua and its 'create_request_config()' hook


Hi,

mod_lua defines a create_request hook (i.e. 'create_request_config()'). In this hook, an 'ap_lua_request_cfg' structure is allocated and initialized.

However, this structure and its fields seem to be unused.

Axing this hook and memory allocation would same about 200 bytes in the request pool when mod_lua is loaded. We could also remove the 'ap_lua_request_cfg' and 'mapped_request_details' structures.


Did i miss something obvious or is it really useless?

CJ