ngx_http_.._loc_conf_t

linux-kernel linux-kernel at mail.ru
Sat Feb 16 21:33:28 MSK 2008


Здравствуйте, nginx-ru.

В функции init_process
получаю лок конф структуру через
conf =
((ngx_http_conf_ctx_t*)cycle->conf_ctx[ngx_http_module.index])->loc_conf[ngx_http_..._module.ctx_index];

а в функции ngx_http_.._handler получаю
conf = ngx_http_get_module_loc_conf(r, ngx_http__module); и мои
изменения из функиий init_process теряются

Как сделать так чтобы в функции init_process доиницилизировать
loc_conf_t и чтобы это было жоступно в хандлере модуля

-- 
С уважением,
 linux-kernel                          mailto:linux-kernel at mail.ru







More information about the nginx-ru mailing list