Home
last modified time | relevance | path

Searched refs:cscf (Results 1 – 25 of 27) sorted by relevance

12

/f-stack/app/nginx-1.16.1/src/mail/
H A Dngx_mail_core_module.c158 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_core_create_srv_conf() local
161 if (cscf == NULL) { in ngx_mail_core_create_srv_conf()
178 cscf->line = cf->conf_file->line; in ngx_mail_core_create_srv_conf()
184 return cscf; in ngx_mail_core_create_srv_conf()
279 cscf->ctx = ctx; in ngx_mail_core_server()
288 *cscfp = cscf; in ngx_mail_core_server()
304 cscf->file_name, cscf->line); in ngx_mail_core_server()
324 cscf->listen = 1; in ngx_mail_core_listen()
361 if (cscf->protocol == NULL) { in ngx_mail_core_listen()
661 cscf->resolver = NULL; in ngx_mail_core_resolver()
[all …]
H A Dngx_mail_handler.c36 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_init_connection() local
207 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_ssl_init_connection() local
235 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_ssl_handshake_handler() local
272 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_verify_cert() local
337 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_init_session() local
343 s->protocol = cscf->protocol->type; in ngx_mail_init_session()
353 cscf->protocol->init_session(s, c); in ngx_mail_init_session()
359 ngx_mail_core_srv_conf_t *cscf) in ngx_mail_salt() argument
639 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_send() local
711 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_read_command() local
[all …]
H A Dngx_mail_smtp_module.c150 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_smtp_merge_srv_conf() local
166 cscf = ngx_mail_conf_get_module_srv_conf(cf, ngx_mail_core_module); in ngx_mail_smtp_merge_srv_conf()
168 size = sizeof("220 ESMTP ready" CRLF) - 1 + cscf->server_name.len; in ngx_mail_smtp_merge_srv_conf()
179 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_smtp_merge_srv_conf()
183 size = sizeof("250 " CRLF) - 1 + cscf->server_name.len; in ngx_mail_smtp_merge_srv_conf()
194 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_smtp_merge_srv_conf()
202 size = sizeof("250-") - 1 + cscf->server_name.len + sizeof(CRLF) - 1; in ngx_mail_smtp_merge_srv_conf()
236 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_smtp_merge_srv_conf()
H A Dngx_mail_smtp_handler.c59 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_smtp_init_session() local
63 if (cscf->resolver == NULL) { in ngx_mail_smtp_init_session()
79 ctx = ngx_resolve_start(cscf->resolver, NULL); in ngx_mail_smtp_init_session()
89 ctx->timeout = cscf->resolver_timeout; in ngx_mail_smtp_init_session()
154 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_smtp_resolve_name() local
161 ctx = ngx_resolve_start(cscf->resolver, NULL); in ngx_mail_smtp_resolve_name()
170 ctx->timeout = cscf->resolver_timeout; in ngx_mail_smtp_resolve_name()
245 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_smtp_greeting() local
279 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_smtp_invalid_pipelining() local
297 ngx_add_timer(c->read, cscf->timeout); in ngx_mail_smtp_invalid_pipelining()
[all …]
H A Dngx_mail_imap_handler.c39 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_imap_init_session() local
41 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_imap_init_session()
47 ngx_add_timer(c->read, cscf->timeout); in ngx_mail_imap_init_session()
350 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_imap_authenticate() local
393 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_imap_authenticate()
395 if (ngx_mail_salt(s, c, cscf) != NGX_OK) { in ngx_mail_imap_authenticate()
H A Dngx_mail_pop3_handler.c36 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_pop3_init_session() local
40 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_pop3_init_session()
45 if (ngx_mail_salt(s, c, cscf) != NGX_OK) { in ngx_mail_pop3_init_session()
68 ngx_add_timer(c->read, cscf->timeout); in ngx_mail_pop3_init_session()
H A Dngx_mail.c286 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_optimize_servers() local
329 cscf = addr->opt.ctx->srv_conf[ngx_mail_core_module.ctx_index]; in ngx_mail_optimize_servers()
331 ls->logp = cscf->error_log; in ngx_mail_optimize_servers()
351 ls->belong_to_host = cscf->kernel_network_stack; in ngx_mail_optimize_servers()
H A Dngx_mail_proxy_module.c121 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_proxy_init() local
125 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_proxy_init()
149 ngx_add_timer(p->upstream.connection->read, cscf->timeout); in ngx_mail_proxy_init()
462 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_proxy_smtp_handler() local
496 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_proxy_smtp_handler()
498 line.len = sizeof("HELO ") - 1 + cscf->server_name.len + 2; in ngx_mail_proxy_smtp_handler()
511 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_proxy_smtp_handler()
H A Dngx_mail_auth_http_module.c863 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_auth_sleep_handler() local
880 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_auth_sleep_handler()
882 rev->handler = cscf->protocol->auth_state; in ngx_mail_auth_sleep_handler()
895 ngx_add_timer(rev, cscf->timeout); in ngx_mail_auth_sleep_handler()
1144 ngx_mail_core_srv_conf_t *cscf; in ngx_mail_auth_http_create_request() local
1210 cscf = ngx_mail_get_module_srv_conf(s, ngx_mail_core_module); in ngx_mail_auth_http_create_request()
1220 + sizeof("Auth-Protocol: ") - 1 + cscf->protocol->name.len in ngx_mail_auth_http_create_request()
1282 b->last = ngx_cpymem(b->last, cscf->protocol->name.data, in ngx_mail_auth_http_create_request()
1283 cscf->protocol->name.len); in ngx_mail_auth_http_create_request()
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_core_module.c337 && cscf->tcp_nodelay in ngx_stream_core_content_phase()
344 cscf->handler(s); in ngx_stream_core_content_phase()
412 if (cscf == NULL) { in ngx_stream_core_create_srv_conf()
424 cscf->line = cf->conf_file->line; in ngx_stream_core_create_srv_conf()
435 return cscf; in ngx_stream_core_create_srv_conf()
559 cscf->ctx = ctx; in ngx_stream_core_server()
568 *cscfp = cscf; in ngx_stream_core_server()
584 cscf->file_name, cscf->line); in ngx_stream_core_server()
603 cscf->listen = 1; in ngx_stream_core_listen()
923 if (cscf->resolver) { in ngx_stream_core_resolver()
[all …]
H A Dngx_stream_handler.c38 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_init_connection() local
139 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); in ngx_stream_init_connection()
141 ngx_set_connection_log(c, cscf->error_log); in ngx_stream_init_connection()
185 ngx_add_timer(rev, cscf->proxy_protocol_timeout); in ngx_stream_init_connection()
214 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_proxy_protocol_handler() local
239 cscf = ngx_stream_get_module_srv_conf(s, in ngx_stream_proxy_protocol_handler()
242 ngx_add_timer(rev, cscf->proxy_protocol_timeout); in ngx_stream_proxy_protocol_handler()
H A Dngx_stream_return_module.c194 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_return() local
213 cscf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_core_module); in ngx_stream_return()
215 cscf->handler = ngx_stream_return_handler; in ngx_stream_return()
H A Dngx_stream.c446 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_optimize_servers() local
490 cscf = addr->opt.ctx->srv_conf[ngx_stream_core_module.ctx_index]; in ngx_stream_optimize_servers()
492 ls->logp = cscf->error_log; in ngx_stream_optimize_servers()
518 ls->belong_to_host = cscf->kernel_network_stack; in ngx_stream_optimize_servers()
H A Dngx_stream_proxy_module.c390 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_proxy_handler() local
526 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); in ngx_stream_proxy_handler()
528 ctx = ngx_resolve_start(cscf->resolver, &temp); in ngx_stream_proxy_handler()
544 ctx->timeout = cscf->resolver_timeout; in ngx_stream_proxy_handler()
779 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_proxy_init_upstream() local
785 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); in ngx_stream_proxy_init_upstream()
788 && cscf->tcp_nodelay in ngx_stream_proxy_init_upstream()
2195 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_proxy_pass() local
2202 cscf = ngx_stream_conf_get_module_srv_conf(cf, ngx_stream_core_module); in ngx_stream_proxy_pass()
2204 cscf->handler = ngx_stream_proxy_handler; in ngx_stream_proxy_pass()
H A Dngx_stream_ssl_module.c364 ngx_stream_core_srv_conf_t *cscf; in ngx_stream_ssl_init_connection() local
368 cscf = ngx_stream_get_module_srv_conf(s, ngx_stream_core_module); in ngx_stream_ssl_init_connection()
370 if (cscf->tcp_nodelay && ngx_tcp_nodelay(c) != NGX_OK) { in ngx_stream_ssl_init_connection()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http.c22 ngx_http_core_srv_conf_t *cscf, ngx_http_conf_port_t *port,
748 cscf->named_locations = clcfp; in ngx_http_init_locations()
1262 addr[i].default_server = cscf; in ngx_http_add_addresses()
1330 addr->default_server = cscf; in ngx_http_add_address()
1333 return ngx_http_add_server(cf, cscf, addr); in ngx_http_add_address()
1357 if (server[i] == cscf) { in ngx_http_add_server()
1371 *server = cscf; in ngx_http_add_server()
1704 ngx_http_core_srv_conf_t *cscf; in ngx_http_add_listening() local
1715 cscf = addr->default_server; in ngx_http_add_listening()
1716 ls->pool_size = cscf->connection_pool_size; in ngx_http_add_listening()
[all …]
H A Dngx_http_request.c383 ngx_http_core_srv_conf_t *cscf; in ngx_http_wait_request_handler() local
543 ngx_http_core_srv_conf_t *cscf; in ngx_http_alloc_request() local
865 ngx_http_core_srv_conf_t *cscf; in ngx_http_ssl_servername() local
924 hc->conf_ctx = cscf->ctx; in ngx_http_ssl_servername()
1203 ngx_http_core_srv_conf_t *cscf; in ngx_http_process_request_uri() local
1511 ngx_http_core_srv_conf_t *cscf; in ngx_http_read_request_header() local
1570 ngx_http_core_srv_conf_t *cscf; in ngx_http_alloc_large_header_buffer() local
2156 ngx_http_core_srv_conf_t *cscf; in ngx_http_set_virtual_server() local
2159 cscf = NULL; in ngx_http_set_virtual_server()
2248 if (cscf) { in ngx_http_find_virtual_server()
[all …]
H A Dngx_http_core_module.c1038 ngx_http_core_srv_conf_t *cscf; in ngx_http_core_post_rewrite_phase() local
1072 r->loc_conf = cscf->ctx->loc_conf; in ngx_http_core_post_rewrite_phase()
2417 ngx_http_core_srv_conf_t *cscf; in ngx_http_internal_redirect() local
2497 if (cscf->named_locations) { in ngx_http_named_location()
2790 cscf->ctx = ctx; in ngx_http_core_server()
2800 *cscfp = cscf; in ngx_http_core_server()
3266 ngx_http_core_srv_conf_t *cscf; in ngx_http_core_create_srv_conf() local
3269 if (cscf == NULL) { in ngx_http_core_create_srv_conf()
3301 return cscf; in ngx_http_core_create_srv_conf()
3796 cscf->listen = 1; in ngx_http_core_listen()
[all …]
H A Dngx_http_header_filter_module.c169 ngx_http_core_srv_conf_t *cscf; in ngx_http_header_filter() local
331 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_header_filter()
332 host = cscf->server_name; in ngx_http_header_filter()
H A Dngx_http.h81 ngx_int_t ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf,
H A Dngx_http_variables.c1205 ngx_http_core_srv_conf_t *cscf; in ngx_http_variable_host() local
1212 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_variable_host()
1214 v->len = cscf->server_name.len; in ngx_http_variable_host()
1215 v->data = cscf->server_name.data; in ngx_http_variable_host()
1641 ngx_http_core_srv_conf_t *cscf; in ngx_http_variable_server_name() local
1643 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_variable_server_name()
1645 v->len = cscf->server_name.len; in ngx_http_variable_server_name()
1649 v->data = cscf->server_name.data; in ngx_http_variable_server_name()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_referer_module.c328 ngx_http_core_srv_conf_t *cscf; in ngx_http_referer_merge_conf() local
349 cscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_core_module); in ngx_http_referer_merge_conf()
351 sn = cscf->server_names.elts; in ngx_http_referer_merge_conf()
352 for (n = 0; n < cscf->server_names.nelts; n++) { in ngx_http_referer_merge_conf()
H A Dngx_http_ssl_module.c1111 ngx_http_core_srv_conf_t **cscfp, *cscf; in ngx_http_ssl_init() local
1149 cscf = addr[a].default_server; in ngx_http_ssl_init()
1150 sscf = cscf->ctx->srv_conf[ngx_http_ssl_module.ctx_index]; in ngx_http_ssl_init()
1156 cscf->file_name, cscf->line); in ngx_http_ssl_init()
H A Dngx_http_rewrite_module.c142 ngx_http_core_srv_conf_t *cscf; in ngx_http_rewrite_handler() local
147 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_rewrite_handler()
150 if (r->phase_handler == index && r->loc_conf == cscf->ctx->loc_conf) { in ngx_http_rewrite_handler()
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2.c1537 ngx_http_core_srv_conf_t *cscf; in ngx_http_v2_state_process_header() local
1631 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_v2_state_process_header()
1633 if (cscf->ignore_invalid_headers) { in ngx_http_v2_state_process_header()
2476 ngx_http_core_srv_conf_t *cscf; in ngx_http_v2_state_headers_save() local
2484 ngx_add_timer(rev, cscf->client_header_timeout); in ngx_http_v2_state_headers_save()
3000 ngx_http_core_srv_conf_t *cscf; in ngx_http_v2_create_stream() local
3089 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_v2_create_stream()
3092 cscf->client_header_buffer_size); in ngx_http_v2_create_stream()
3268 ngx_http_core_srv_conf_t *cscf; in ngx_http_v2_validate_header() local
3272 cscf = ngx_http_get_module_srv_conf(r, ngx_http_core_module); in ngx_http_v2_validate_header()
[all …]

12