Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added marco ngx_tcp_cycle_get_module_main_conf
If developer writes a tcp module and defines ngx_module_t:init_module field, this macro will be useful to get main conf of his tcp module from cycle. nginx_module_t { ngx_int_t (*init_module)(ngx_cycle_t *cycle); } Note that http module has a similar macro (ngx_http_cycle_get_module_main_conf).
- Loading branch information