![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Nginx
JoinTencent
这个作者很懒,什么都没留下…
展开
-
nginx解析
重要的结构体1. nginx_cycle_tstruct ngx_cycle_s { void ****conf_ctx; //配置上下文数组(含所有模块) ngx_pool_t *pool; //内存池 ngx_log_t *log; //日志 ...原创 2018-04-09 17:52:51 · 314 阅读 · 0 评论 -
Nginx启动流程(二)(main函数分析)
#define ngx_get_conf(conf_ctx, module) conf_ctx[module.index]ngx_process_t ngx_processes[NGX_MAX_PROCESSES]; //存储所有子进程的数组 ngx_spawn_process中赋值ngx_process_t :typedef struct { ngx_pid_t ...原创 2018-04-28 17:33:16 · 247 阅读 · 0 评论