| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_config.h | 19 void **srv_conf; member 51 #define NGX_HTTP_SRV_CONF_OFFSET offsetof(ngx_http_conf_ctx_t, srv_conf) 57 #define ngx_http_get_module_srv_conf(r, module) (r)->srv_conf[module.ctx_index] 64 ((ngx_http_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
|
| H A D | ngx_http_upstream.h | 123 void **srv_conf; member 429 uscf->srv_conf[module.ctx_index]
|
| H A D | ngx_http.c | 164 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); in ngx_http_block() 165 if (ctx->srv_conf == NULL) { in ngx_http_block() 202 ctx->srv_conf[mi] = module->create_srv_conf(cf); in ngx_http_block() 203 if (ctx->srv_conf[mi] == NULL) { in ngx_http_block() 579 ctx->srv_conf = cscfp[s]->ctx->srv_conf; in ngx_http_merge_servers() 582 rv = module->merge_srv_conf(cf, saved.srv_conf[ctx_index], in ngx_http_merge_servers() 583 cscfp[s]->ctx->srv_conf[ctx_index]); in ngx_http_merge_servers()
|
| H A D | ngx_http_request.h | 378 void **srv_conf; member
|
| H A D | ngx_http_core_module.c | 2293 sr->srv_conf = cscf->ctx->srv_conf; in ngx_http_subrequest() 2748 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); in ngx_http_core_server() 2749 if (ctx->srv_conf == NULL) { in ngx_http_core_server() 2773 ctx->srv_conf[cf->cycle->modules[i]->ctx_index] = mconf; in ngx_http_core_server() 2789 cscf = ctx->srv_conf[ngx_http_core_module.ctx_index]; in ngx_http_core_server() 2886 ctx->srv_conf = pctx->srv_conf; in ngx_http_core_location() 4414 ctx->srv_conf = pctx->srv_conf; in ngx_http_core_limit_except()
|
| H A D | ngx_http_request.c | 568 r->srv_conf = hc->conf_ctx->srv_conf; in ngx_http_alloc_request() 2222 r->srv_conf = cscf->ctx->srv_conf; in ngx_http_set_virtual_server()
|
| H A D | ngx_http_upstream.c | 5737 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_http_max_module); in ngx_http_upstream() 5738 if (ctx->srv_conf == NULL) { in ngx_http_upstream() 5742 ctx->srv_conf[ngx_http_upstream_module.ctx_index] = uscf; in ngx_http_upstream() 5744 uscf->srv_conf = ctx->srv_conf; in ngx_http_upstream() 5767 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_http_upstream()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream.h | 39 void **srv_conf; member 212 void **srv_conf; member 257 #define NGX_STREAM_SRV_CONF_OFFSET offsetof(ngx_stream_conf_ctx_t, srv_conf) 268 (s)->srv_conf[module.ctx_index] 273 ((ngx_stream_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
|
| H A D | ngx_stream.c | 118 ctx->srv_conf = ngx_pcalloc(cf->pool, in ngx_stream_block() 120 if (ctx->srv_conf == NULL) { in ngx_stream_block() 145 ctx->srv_conf[mi] = module->create_srv_conf(cf); in ngx_stream_block() 146 if (ctx->srv_conf[mi] == NULL) { in ngx_stream_block() 216 ctx->srv_conf[mi], in ngx_stream_block() 217 cscfp[s]->ctx->srv_conf[mi]); in ngx_stream_block() 490 cscf = addr->opt.ctx->srv_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_optimize_servers()
|
| H A D | ngx_stream_upstream.h | 72 void **srv_conf; member 150 uscf->srv_conf[module.ctx_index]
|
| H A D | ngx_stream_upstream.c | 343 ctx->srv_conf = ngx_pcalloc(cf->pool, in ngx_stream_upstream() 345 if (ctx->srv_conf == NULL) { in ngx_stream_upstream() 349 ctx->srv_conf[ngx_stream_upstream_module.ctx_index] = uscf; in ngx_stream_upstream() 351 uscf->srv_conf = ctx->srv_conf; in ngx_stream_upstream() 366 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_stream_upstream()
|
| H A D | ngx_stream_handler.c | 126 s->srv_conf = addr_conf->ctx->srv_conf; in ngx_stream_init_connection()
|
| H A D | ngx_stream_core_module.c | 533 ctx->srv_conf = ngx_pcalloc(cf->pool, in ngx_stream_core_server() 535 if (ctx->srv_conf == NULL) { in ngx_stream_core_server() 552 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_stream_core_server() 558 cscf = ctx->srv_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_core_server()
|
| /f-stack/app/nginx-1.16.1/src/mail/ |
| H A D | ngx_mail.c | 111 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); in ngx_mail_block() 112 if (ctx->srv_conf == NULL) { in ngx_mail_block() 137 ctx->srv_conf[mi] = module->create_srv_conf(cf); in ngx_mail_block() 138 if (ctx->srv_conf[mi] == NULL) { in ngx_mail_block() 193 ctx->srv_conf[mi], in ngx_mail_block() 194 cscfp[s]->ctx->srv_conf[mi]); in ngx_mail_block() 329 cscf = addr->opt.ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_optimize_servers()
|
| H A D | ngx_mail.h | 25 void **srv_conf; member 194 void **srv_conf; member 355 #define NGX_MAIL_SRV_CONF_OFFSET offsetof(ngx_mail_conf_ctx_t, srv_conf) 365 #define ngx_mail_get_module_srv_conf(s, module) (s)->srv_conf[module.ctx_index] 370 ((ngx_mail_conf_ctx_t *) cf->ctx)->srv_conf[module.ctx_index]
|
| H A D | ngx_mail_core_module.c | 254 ctx->srv_conf = ngx_pcalloc(cf->pool, sizeof(void *) * ngx_mail_max_module); in ngx_mail_core_server() 255 if (ctx->srv_conf == NULL) { in ngx_mail_core_server() 272 ctx->srv_conf[cf->cycle->modules[m]->ctx_index] = mconf; in ngx_mail_core_server() 278 cscf = ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_core_server()
|
| H A D | ngx_mail_handler.c | 130 s->srv_conf = addr_conf->ctx->srv_conf; in ngx_mail_init_connection()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_rewrite_module.c | 548 ctx->srv_conf = pctx->srv_conf; in ngx_http_rewrite_if()
|
| H A D | ngx_http_ssl_module.c | 1119 sscf = cscfp[s]->ctx->srv_conf[ngx_http_ssl_module.ctx_index]; in ngx_http_ssl_init() 1150 sscf = cscf->ctx->srv_conf[ngx_http_ssl_module.ctx_index]; in ngx_http_ssl_init()
|