版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/gc0823/article/details/50346969
今天,主要总结下ngx_core.h中的结构体:
ngx_module_s结构体,在源码包中的/src/core/ngx_conf_file.h中定义:
在ngx_module_s数据结构中核心的是变量是ctx、command、ctx_index、index,和7个函数指针。
今天,主要总结下ngx_core.h中的结构体:
ngx_module_s结构体,在源码包中的/src/core/ngx_conf_file.h中定义:
在ngx_module_s数据结构中核心的是变量是ctx、command、ctx_index、index,和7个函数指针。