*在 ngx_preinit_modules 函数中确定 */cycle->conf_ctx =ngx_pcalloc(pool, ngx_max_module *sizeof(void *));if(cycle->conf_ctx == NULL) {ngx_destroy_pool(pool);returnNULL; }/* 获取本地主机名 */if(gethostname(hostname, NGX_MAXHOSTNAMELEN) == -1) {ngx_log_error(NGX_LOG_EMERG,...
Solutions By company size Enterprises Small and medium teams Startups Nonprofits By use case DevSecOps DevOps CI/CD View all use cases By industry Healthcare Financial services Manufacturing Government View all industries View all solutions Resources Topics AI DevOps Security Software...
初始化为-1ngx_uint_t ctx_index;// 在ngx_modules数组里的唯一索引,main()里赋值// 使用计数器变量ngx_max_modulengx_uint_t index;// 1.10,模块的名字,标识字符串,默认是空指针// 由脚本生成ngx_module_names数组,然后在ngx_preinit_modules里填充...