Communicating between nginx' modules

Piotr Sikora piotr.sikora at frickle.com
Mon Dec 21 14:47:36 MSK 2009


> Or you can just use the functions you'd normally use to access your own 
> module, e.g.
>
> ngx_http_conf_get_module_loc_conf (cf, ngx_http_copy_filter_module);

True, you can use those macros for accessing context:

ngx_http_get_module_ctx(r, module)
ngx_http_set_ctx(r, c, module)

...but in the end they will be expanded exactly to what I wrote previously 
;)

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >




More information about the nginx-devel mailing list