cscf 364 http/modules/ngx_http_referer_module.c ngx_http_core_srv_conf_t *cscf; cscf 413 http/modules/ngx_http_referer_module.c cscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_core_module); cscf 415 http/modules/ngx_http_referer_module.c sn = cscf->server_names.elts; cscf 416 http/modules/ngx_http_referer_module.c for (n = 0; n < cscf->server_names.nelts; n++) { cscf 21 http/ngx_http.c ngx_http_core_srv_conf_t *cscf, ngx_http_conf_port_t *port, cscf 24 http/ngx_http.c ngx_http_core_srv_conf_t *cscf, ngx_http_conf_port_t *port, cscf 27 http/ngx_http.c ngx_http_core_srv_conf_t *cscf, ngx_http_conf_addr_t *addr); cscf 36 http/ngx_http.c ngx_http_core_srv_conf_t *cscf, ngx_http_core_loc_conf_t *pclcf); cscf 669 http/ngx_http.c ngx_http_init_locations(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cscf 749 http/ngx_http.c cscf->named_locations = clcfp; cscf 1139 http/ngx_http.c ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cscf 1194 http/ngx_http.c return ngx_http_add_addresses(cf, cscf, &port[i], lsopt); cscf 1208 http/ngx_http.c return ngx_http_add_address(cf, cscf, port, lsopt); cscf 1213 http/ngx_http.c ngx_http_add_addresses(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cscf 1269 http/ngx_http.c if (ngx_http_add_server(cf, cscf, &addr[i]) != NGX_OK) { cscf 1302 http/ngx_http.c addr[i].default_server = cscf; cscf 1315 http/ngx_http.c return ngx_http_add_address(cf, cscf, port, lsopt); cscf 1325 http/ngx_http.c ngx_http_add_address(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cscf 1353 http/ngx_http.c addr->default_server = cscf; cscf 1356 http/ngx_http.c return ngx_http_add_server(cf, cscf, addr); cscf 1363 http/ngx_http.c ngx_http_add_server(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cscf 1380 http/ngx_http.c if (server[i] == cscf) { cscf 1393 http/ngx_http.c *server = cscf; cscf 1727 http/ngx_http.c ngx_http_core_srv_conf_t *cscf; cscf 1738 http/ngx_http.c cscf = addr->default_server; cscf 1739 http/ngx_http.c ls->pool_size = cscf->connection_pool_size; cscf 1740 http/ngx_http.c ls->post_accept_timeout = cscf->client_header_timeout; cscf 1742 http/ngx_http.c clcf = cscf->ctx->loc_conf[ngx_http_core_module.ctx_index]; cscf 1754 http/ngx_http.c ls->post_accept_buffer_size = cscf->client_header_buffer_size; cscf 68 http/ngx_http.h ngx_int_t ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, cscf 1006 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf; cscf 1039 http/ngx_http_core_module.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 1040 http/ngx_http_core_module.c r->loc_conf = cscf->ctx->loc_conf; cscf 2173 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf; cscf 2207 http/ngx_http_core_module.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 2208 http/ngx_http_core_module.c sr->main_conf = cscf->ctx->main_conf; cscf 2209 http/ngx_http_core_module.c sr->srv_conf = cscf->ctx->srv_conf; cscf 2210 http/ngx_http_core_module.c sr->loc_conf = cscf->ctx->loc_conf; cscf 2300 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf; cscf 2331 http/ngx_http_core_module.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 2332 http/ngx_http_core_module.c r->loc_conf = cscf->ctx->loc_conf; cscf 2353 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf; cscf 2359 http/ngx_http_core_module.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 2361 http/ngx_http_core_module.c if (cscf->named_locations) { cscf 2363 http/ngx_http_core_module.c for (clcfp = cscf->named_locations; *clcfp; clcfp++) { cscf 2448 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf, **cscfp; cscf 2502 http/ngx_http_core_module.c cscf = ctx->srv_conf[ngx_http_core_module.ctx_index]; cscf 2503 http/ngx_http_core_module.c cscf->ctx = ctx; cscf 2513 http/ngx_http_core_module.c *cscfp = cscf; cscf 2526 http/ngx_http_core_module.c if (rv == NGX_CONF_OK && !cscf->listen) { cscf 2552 http/ngx_http_core_module.c if (ngx_http_add_listen(cf, cscf, &lsopt) != NGX_OK) { cscf 2959 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf; cscf 2961 http/ngx_http_core_module.c cscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_core_srv_conf_t)); cscf 2962 http/ngx_http_core_module.c if (cscf == NULL) { cscf 2972 http/ngx_http_core_module.c if (ngx_array_init(&cscf->server_names, cf->temp_pool, 4, cscf 2979 http/ngx_http_core_module.c cscf->connection_pool_size = NGX_CONF_UNSET_SIZE; cscf 2980 http/ngx_http_core_module.c cscf->request_pool_size = NGX_CONF_UNSET_SIZE; cscf 2981 http/ngx_http_core_module.c cscf->client_header_timeout = NGX_CONF_UNSET_MSEC; cscf 2982 http/ngx_http_core_module.c cscf->client_header_buffer_size = NGX_CONF_UNSET_SIZE; cscf 2983 http/ngx_http_core_module.c cscf->ignore_invalid_headers = NGX_CONF_UNSET; cscf 2984 http/ngx_http_core_module.c cscf->merge_slashes = NGX_CONF_UNSET; cscf 2985 http/ngx_http_core_module.c cscf->underscores_in_headers = NGX_CONF_UNSET; cscf 2987 http/ngx_http_core_module.c return cscf; cscf 3433 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf = conf; cscf 3440 http/ngx_http_core_module.c cscf->listen = 1; cscf 3635 http/ngx_http_core_module.c if (ngx_http_add_listen(cf, cscf, &lsopt) == NGX_OK) { cscf 3646 http/ngx_http_core_module.c ngx_http_core_srv_conf_t *cscf = conf; cscf 3680 http/ngx_http_core_module.c sn = ngx_array_push(&cscf->server_names); cscf 3688 http/ngx_http_core_module.c sn->server = cscf; cscf 3736 http/ngx_http_core_module.c cscf->captures = (rc.captures > 0); cscf 166 http/ngx_http_header_filter_module.c ngx_http_core_srv_conf_t *cscf; cscf 321 http/ngx_http_header_filter_module.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 322 http/ngx_http_header_filter_module.c host = cscf->server_name; cscf 249 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 388 http/ngx_http_request.c cscf = addr_conf->default_server; cscf 390 http/ngx_http_request.c r->main_conf = cscf->ctx->main_conf; cscf 391 http/ngx_http_request.c r->srv_conf = cscf->ctx->srv_conf; cscf 392 http/ngx_http_request.c r->loc_conf = cscf->ctx->loc_conf; cscf 441 http/ngx_http_request.c cscf->client_header_buffer_size); cscf 452 http/ngx_http_request.c r->pool = ngx_create_pool(cscf->request_pool_size, c->log); cscf 692 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 744 http/ngx_http_request.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 746 http/ngx_http_request.c rc = ngx_http_parse_complex_uri(r, cscf->merge_slashes); cscf 944 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 961 http/ngx_http_request.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 1016 http/ngx_http_request.c cscf->underscores_in_headers); cscf 1020 http/ngx_http_request.c if (r->invalid_header && cscf->ignore_invalid_headers) { cscf 1123 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 1143 http/ngx_http_request.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 1144 http/ngx_http_request.c ngx_add_timer(rev, cscf->client_header_timeout); cscf 1181 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 1200 http/ngx_http_request.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 1204 http/ngx_http_request.c >= cscf->large_client_header_buffers.size) cscf 1218 http/ngx_http_request.c } else if (hc->nbusy < cscf->large_client_header_buffers.num) { cscf 1222 http/ngx_http_request.c cscf->large_client_header_buffers.num * sizeof(ngx_buf_t *)); cscf 1229 http/ngx_http_request.c cscf->large_client_header_buffers.size); cscf 1717 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 1723 http/ngx_http_request.c cscf = ngx_hash_find_combined(&r->virtual_names->names, cscf 1726 http/ngx_http_request.c if (cscf) { cscf 1748 http/ngx_http_request.c cscf = sn[i].server; cscf 1766 http/ngx_http_request.c r->srv_conf = cscf->ctx->srv_conf; cscf 1767 http/ngx_http_request.c r->loc_conf = cscf->ctx->loc_conf; cscf 2388 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 2424 http/ngx_http_request.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 2428 http/ngx_http_request.c cscf->large_client_header_buffers.num * sizeof(ngx_buf_t *)); cscf 3090 http/ngx_http_request.c ngx_http_core_srv_conf_t *cscf; cscf 3092 http/ngx_http_request.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 3094 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", server: %V", &cscf->server_name); cscf 869 http/ngx_http_variables.c ngx_http_core_srv_conf_t *cscf; cscf 876 http/ngx_http_variables.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 878 http/ngx_http_variables.c v->len = cscf->server_name.len; cscf 879 http/ngx_http_variables.c v->data = cscf->server_name.data; cscf 1233 http/ngx_http_variables.c ngx_http_core_srv_conf_t *cscf; cscf 1235 http/ngx_http_variables.c cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); cscf 1237 http/ngx_http_variables.c v->len = cscf->server_name.len; cscf 1241 http/ngx_http_variables.c v->data = cscf->server_name.data; cscf 373 mail/ngx_mail.h ngx_mail_core_srv_conf_t *cscf); cscf 860 mail/ngx_mail_auth_http_module.c ngx_mail_core_srv_conf_t *cscf; cscf 877 mail/ngx_mail_auth_http_module.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 879 mail/ngx_mail_auth_http_module.c rev->handler = cscf->protocol->auth_state; cscf 892 mail/ngx_mail_auth_http_module.c ngx_add_timer(rev, cscf->timeout); cscf 1135 mail/ngx_mail_auth_http_module.c ngx_mail_core_srv_conf_t *cscf; cscf 1145 mail/ngx_mail_auth_http_module.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 1155 mail/ngx_mail_auth_http_module.c + sizeof("Auth-Protocol: ") - 1 + cscf->protocol->name.len cscf 1207 mail/ngx_mail_auth_http_module.c b->last = ngx_cpymem(b->last, cscf->protocol->name.data, cscf 1208 mail/ngx_mail_auth_http_module.c cscf->protocol->name.len); cscf 146 mail/ngx_mail_core_module.c ngx_mail_core_srv_conf_t *cscf; cscf 148 mail/ngx_mail_core_module.c cscf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_core_srv_conf_t)); cscf 149 mail/ngx_mail_core_module.c if (cscf == NULL) { cscf 159 mail/ngx_mail_core_module.c cscf->timeout = NGX_CONF_UNSET_MSEC; cscf 160 mail/ngx_mail_core_module.c cscf->resolver_timeout = NGX_CONF_UNSET_MSEC; cscf 161 mail/ngx_mail_core_module.c cscf->so_keepalive = NGX_CONF_UNSET; cscf 163 mail/ngx_mail_core_module.c cscf->resolver = NGX_CONF_UNSET_PTR; cscf 165 mail/ngx_mail_core_module.c cscf->file_name = cf->conf_file->file.name.data; cscf 166 mail/ngx_mail_core_module.c cscf->line = cf->conf_file->line; cscf 168 mail/ngx_mail_core_module.c return cscf; cscf 213 mail/ngx_mail_core_module.c ngx_mail_core_srv_conf_t *cscf, **cscfp; cscf 250 mail/ngx_mail_core_module.c cscf = ctx->srv_conf[ngx_mail_core_module.ctx_index]; cscf 251 mail/ngx_mail_core_module.c cscf->ctx = ctx; cscf 260 mail/ngx_mail_core_module.c *cscfp = cscf; cscf 280 mail/ngx_mail_core_module.c ngx_mail_core_srv_conf_t *cscf = conf; cscf 383 mail/ngx_mail_core_module.c cscf->protocol = module->protocol; cscf 461 mail/ngx_mail_core_module.c ngx_mail_core_srv_conf_t *cscf = conf; cscf 479 mail/ngx_mail_core_module.c cscf->protocol = module->protocol; cscf 494 mail/ngx_mail_core_module.c ngx_mail_core_srv_conf_t *cscf = conf; cscf 501 mail/ngx_mail_core_module.c if (cscf->resolver != NGX_CONF_UNSET_PTR) { cscf 506 mail/ngx_mail_core_module.c cscf->resolver = NULL; cscf 520 mail/ngx_mail_core_module.c cscf->resolver = ngx_resolver_create(cf, &u.addrs[0]); cscf 521 mail/ngx_mail_core_module.c if (cscf->resolver == NULL) { cscf 211 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 222 mail/ngx_mail_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 224 mail/ngx_mail_handler.c ngx_add_timer(c->read, cscf->timeout); cscf 239 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 246 mail/ngx_mail_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 248 mail/ngx_mail_handler.c c->read->handler = cscf->protocol->init_protocol; cscf 251 mail/ngx_mail_handler.c cscf->protocol->init_protocol(c->read); cscf 272 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 276 mail/ngx_mail_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 278 mail/ngx_mail_handler.c s->protocol = cscf->protocol->type; cscf 288 mail/ngx_mail_handler.c cscf->protocol->init_session(s, c); cscf 294 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf) cscf 299 mail/ngx_mail_handler.c + cscf->server_name.len); cscf 305 mail/ngx_mail_handler.c ngx_random(), ngx_time(), &cscf->server_name) cscf 540 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 588 mail/ngx_mail_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 590 mail/ngx_mail_handler.c ngx_add_timer(c->write, cscf->timeout); cscf 605 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 627 mail/ngx_mail_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 629 mail/ngx_mail_handler.c rc = cscf->protocol->parse_command(s); cscf 682 mail/ngx_mail_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 684 mail/ngx_mail_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 686 mail/ngx_mail_handler.c s->out = cscf->protocol->internal_server_error; cscf 38 mail/ngx_mail_imap_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 40 mail/ngx_mail_imap_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 46 mail/ngx_mail_imap_handler.c ngx_add_timer(c->read, cscf->timeout); cscf 345 mail/ngx_mail_imap_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 388 mail/ngx_mail_imap_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 390 mail/ngx_mail_imap_handler.c if (ngx_mail_salt(s, c, cscf) != NGX_OK) { cscf 35 mail/ngx_mail_pop3_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 39 mail/ngx_mail_pop3_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 44 mail/ngx_mail_pop3_handler.c if (ngx_mail_salt(s, c, cscf) != NGX_OK) { cscf 67 mail/ngx_mail_pop3_handler.c ngx_add_timer(c->read, cscf->timeout); cscf 117 mail/ngx_mail_proxy_module.c ngx_mail_core_srv_conf_t *cscf; cscf 121 mail/ngx_mail_proxy_module.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 123 mail/ngx_mail_proxy_module.c if (cscf->so_keepalive) { cscf 157 mail/ngx_mail_proxy_module.c ngx_add_timer(p->upstream.connection->read, cscf->timeout); cscf 470 mail/ngx_mail_proxy_module.c ngx_mail_core_srv_conf_t *cscf; cscf 504 mail/ngx_mail_proxy_module.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 506 mail/ngx_mail_proxy_module.c line.len = sizeof("HELO ") - 1 + cscf->server_name.len + 2; cscf 519 mail/ngx_mail_proxy_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); cscf 59 mail/ngx_mail_smtp_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 61 mail/ngx_mail_smtp_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 63 mail/ngx_mail_smtp_handler.c if (cscf->resolver == NULL) { cscf 77 mail/ngx_mail_smtp_handler.c ctx = ngx_resolve_start(cscf->resolver, NULL); cscf 90 mail/ngx_mail_smtp_handler.c ctx->timeout = cscf->resolver_timeout; cscf 155 mail/ngx_mail_smtp_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 160 mail/ngx_mail_smtp_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 162 mail/ngx_mail_smtp_handler.c ctx = ngx_resolve_start(cscf->resolver, NULL); cscf 172 mail/ngx_mail_smtp_handler.c ctx->timeout = cscf->resolver_timeout; cscf 242 mail/ngx_mail_smtp_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 248 mail/ngx_mail_smtp_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 251 mail/ngx_mail_smtp_handler.c timeout = sscf->greeting_delay ? sscf->greeting_delay : cscf->timeout; cscf 276 mail/ngx_mail_smtp_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 290 mail/ngx_mail_smtp_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 294 mail/ngx_mail_smtp_handler.c ngx_add_timer(c->read, cscf->timeout); cscf 582 mail/ngx_mail_smtp_handler.c ngx_mail_core_srv_conf_t *cscf; cscf 631 mail/ngx_mail_smtp_handler.c cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); cscf 633 mail/ngx_mail_smtp_handler.c if (ngx_mail_salt(s, c, cscf) != NGX_OK) { cscf 145 mail/ngx_mail_smtp_module.c ngx_mail_core_srv_conf_t *cscf; cscf 161 mail/ngx_mail_smtp_module.c cscf = ngx_mail_conf_get_module_srv_conf(cf, ngx_mail_core_module); cscf 163 mail/ngx_mail_smtp_module.c size = sizeof("220 ESMTP ready" CRLF) - 1 + cscf->server_name.len; cscf 174 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); cscf 178 mail/ngx_mail_smtp_module.c size = sizeof("250 " CRLF) - 1 + cscf->server_name.len; cscf 189 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); cscf 197 mail/ngx_mail_smtp_module.c size = sizeof("250-") - 1 + cscf->server_name.len + sizeof(CRLF) - 1; cscf 231 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len);