plcf 87 http/modules/ngx_http_proxy_module.c ngx_http_proxy_ctx_t *ctx, ngx_http_proxy_loc_conf_t *plcf); plcf 136 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf); plcf 558 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf; plcf 571 http/modules/ngx_http_proxy_module.c plcf = ngx_http_get_module_loc_conf(r, ngx_http_proxy_module); plcf 575 http/modules/ngx_http_proxy_module.c if (plcf->proxy_lengths == NULL) { plcf 576 http/modules/ngx_http_proxy_module.c ctx->vars = plcf->vars; plcf 577 http/modules/ngx_http_proxy_module.c u->schema = plcf->vars.schema; plcf 579 http/modules/ngx_http_proxy_module.c u->ssl = (plcf->upstream.ssl != NULL); plcf 583 http/modules/ngx_http_proxy_module.c if (ngx_http_proxy_eval(r, ctx, plcf) != NGX_OK) { plcf 590 http/modules/ngx_http_proxy_module.c u->conf = &plcf->upstream; plcf 602 http/modules/ngx_http_proxy_module.c if (plcf->redirects) { plcf 606 http/modules/ngx_http_proxy_module.c u->buffering = plcf->upstream.buffering; plcf 629 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf) plcf 638 http/modules/ngx_http_proxy_module.c if (ngx_http_script_run(r, &proxy, plcf->proxy_lengths->elts, 0, plcf 639 http/modules/ngx_http_proxy_module.c plcf->proxy_values->elts) plcf 742 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf; plcf 746 http/modules/ngx_http_proxy_module.c plcf = ngx_http_get_module_loc_conf(r, ngx_http_proxy_module); plcf 755 http/modules/ngx_http_proxy_module.c if (plcf->cache_key.value.len) { plcf 757 http/modules/ngx_http_proxy_module.c if (ngx_http_complex_value(r, &plcf->cache_key, key) != NGX_OK) { plcf 771 http/modules/ngx_http_proxy_module.c if (plcf->proxy_lengths) { plcf 786 http/modules/ngx_http_proxy_module.c loc_len = (r->valid_location && ctx->vars.uri.len) ? plcf->location.len : 0; plcf 847 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf; plcf 852 http/modules/ngx_http_proxy_module.c plcf = ngx_http_get_module_loc_conf(r, ngx_http_proxy_module); plcf 859 http/modules/ngx_http_proxy_module.c } else if (plcf->method.len) { plcf 860 http/modules/ngx_http_proxy_module.c method = plcf->method; plcf 875 http/modules/ngx_http_proxy_module.c if (plcf->proxy_lengths) { plcf 885 http/modules/ngx_http_proxy_module.c plcf->location.len : 0; plcf 904 http/modules/ngx_http_proxy_module.c ngx_http_script_flush_no_cacheable_variables(r, plcf->flushes); plcf 906 http/modules/ngx_http_proxy_module.c if (plcf->body_set_len) { plcf 907 http/modules/ngx_http_proxy_module.c le.ip = plcf->body_set_len->elts; plcf 921 http/modules/ngx_http_proxy_module.c le.ip = plcf->headers_set_len->elts; plcf 934 http/modules/ngx_http_proxy_module.c if (plcf->upstream.pass_request_headers) { plcf 950 http/modules/ngx_http_proxy_module.c if (ngx_hash_find(&plcf->headers_set_hash, header[i].hash, plcf 981 http/modules/ngx_http_proxy_module.c if (plcf->proxy_lengths) { plcf 1015 http/modules/ngx_http_proxy_module.c e.ip = plcf->headers_set->elts; plcf 1020 http/modules/ngx_http_proxy_module.c le.ip = plcf->headers_set_len->elts; plcf 1052 http/modules/ngx_http_proxy_module.c if (plcf->upstream.pass_request_headers) { plcf 1068 http/modules/ngx_http_proxy_module.c if (ngx_hash_find(&plcf->headers_set_hash, header[i].hash, plcf 1093 http/modules/ngx_http_proxy_module.c if (plcf->body_set) { plcf 1094 http/modules/ngx_http_proxy_module.c e.ip = plcf->body_set->elts; plcf 1109 http/modules/ngx_http_proxy_module.c if (plcf->body_set == NULL && plcf->upstream.pass_request_body) { plcf 1497 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf; plcf 1500 http/modules/ngx_http_proxy_module.c plcf = ngx_http_get_module_loc_conf(r, ngx_http_proxy_module); plcf 1502 http/modules/ngx_http_proxy_module.c pr = plcf->redirects->elts; plcf 1508 http/modules/ngx_http_proxy_module.c for (i = 0; i < plcf->redirects->nelts; i++) { plcf 2344 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf = conf; plcf 2354 http/modules/ngx_http_proxy_module.c if (plcf->upstream.upstream || plcf->proxy_lengths) { plcf 2378 http/modules/ngx_http_proxy_module.c sc.lengths = &plcf->proxy_lengths; plcf 2379 http/modules/ngx_http_proxy_module.c sc.values = &plcf->proxy_values; plcf 2389 http/modules/ngx_http_proxy_module.c if (ngx_http_proxy_set_ssl(cf, plcf) != NGX_OK) { plcf 2404 http/modules/ngx_http_proxy_module.c if (ngx_http_proxy_set_ssl(cf, plcf) != NGX_OK) { plcf 2429 http/modules/ngx_http_proxy_module.c plcf->upstream.upstream = ngx_http_upstream_add(cf, &u, 0); plcf 2430 http/modules/ngx_http_proxy_module.c if (plcf->upstream.upstream == NULL) { plcf 2434 http/modules/ngx_http_proxy_module.c plcf->vars.schema.len = add; plcf 2435 http/modules/ngx_http_proxy_module.c plcf->vars.schema.data = url->data; plcf 2436 http/modules/ngx_http_proxy_module.c plcf->vars.key_start = plcf->vars.schema; plcf 2438 http/modules/ngx_http_proxy_module.c ngx_http_proxy_set_vars(&u, &plcf->vars); plcf 2440 http/modules/ngx_http_proxy_module.c plcf->location = clcf->name; plcf 2448 http/modules/ngx_http_proxy_module.c if (plcf->vars.uri.len) { plcf 2458 http/modules/ngx_http_proxy_module.c plcf->location.len = 0; plcf 2461 http/modules/ngx_http_proxy_module.c plcf->url = *url; plcf 2470 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf = conf; plcf 2478 http/modules/ngx_http_proxy_module.c if (plcf->redirect == 0) { plcf 2486 http/modules/ngx_http_proxy_module.c plcf->redirect = 0; plcf 2487 http/modules/ngx_http_proxy_module.c plcf->redirects = NULL; plcf 2494 http/modules/ngx_http_proxy_module.c plcf->redirect = 0; plcf 2495 http/modules/ngx_http_proxy_module.c plcf->redirects = NULL; plcf 2506 http/modules/ngx_http_proxy_module.c if (plcf->redirects == NULL) { plcf 2507 http/modules/ngx_http_proxy_module.c plcf->redirects = ngx_array_create(cf->pool, 1, plcf 2509 http/modules/ngx_http_proxy_module.c if (plcf->redirects == NULL) { plcf 2514 http/modules/ngx_http_proxy_module.c pr = ngx_array_push(plcf->redirects); plcf 2520 http/modules/ngx_http_proxy_module.c if (plcf->proxy_lengths) { plcf 2527 http/modules/ngx_http_proxy_module.c if (plcf->url.data == NULL) { plcf 2536 http/modules/ngx_http_proxy_module.c if (plcf->vars.uri.len) { plcf 2537 http/modules/ngx_http_proxy_module.c pr->redirect = plcf->url; plcf 2538 http/modules/ngx_http_proxy_module.c pr->replacement.text = plcf->location; plcf 2541 http/modules/ngx_http_proxy_module.c pr->redirect.len = plcf->url.len + sizeof("/") - 1; plcf 2550 http/modules/ngx_http_proxy_module.c p = ngx_cpymem(p, plcf->url.data, plcf->url.len); plcf 2595 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf = conf; plcf 2600 http/modules/ngx_http_proxy_module.c if (plcf->upstream.store != NGX_CONF_UNSET plcf 2601 http/modules/ngx_http_proxy_module.c || plcf->upstream.store_lengths) plcf 2609 http/modules/ngx_http_proxy_module.c plcf->upstream.store = 0; plcf 2615 http/modules/ngx_http_proxy_module.c if (plcf->upstream.cache != NGX_CONF_UNSET_PTR plcf 2616 http/modules/ngx_http_proxy_module.c && plcf->upstream.cache != NULL) plcf 2624 http/modules/ngx_http_proxy_module.c plcf->upstream.store = 1; plcf 2635 http/modules/ngx_http_proxy_module.c sc.lengths = &plcf->upstream.store_lengths; plcf 2636 http/modules/ngx_http_proxy_module.c sc.values = &plcf->upstream.store_values; plcf 2654 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf = conf; plcf 2660 http/modules/ngx_http_proxy_module.c if (plcf->upstream.cache != NGX_CONF_UNSET_PTR) { plcf 2665 http/modules/ngx_http_proxy_module.c plcf->upstream.cache = NULL; plcf 2669 http/modules/ngx_http_proxy_module.c if (plcf->upstream.store > 0 || plcf->upstream.store_lengths) { plcf 2673 http/modules/ngx_http_proxy_module.c plcf->upstream.cache = ngx_shared_memory_add(cf, &value[1], 0, plcf 2675 http/modules/ngx_http_proxy_module.c if (plcf->upstream.cache == NULL) { plcf 2686 http/modules/ngx_http_proxy_module.c ngx_http_proxy_loc_conf_t *plcf = conf; plcf 2693 http/modules/ngx_http_proxy_module.c if (plcf->cache_key.value.len) { plcf 2701 http/modules/ngx_http_proxy_module.c ccv.complex_value = &plcf->cache_key; plcf 2745 http/modules/ngx_http_proxy_module.c ngx_http_proxy_set_ssl(ngx_conf_t *cf, ngx_http_proxy_loc_conf_t *plcf) plcf 2749 http/modules/ngx_http_proxy_module.c plcf->upstream.ssl = ngx_pcalloc(cf->pool, sizeof(ngx_ssl_t)); plcf 2750 http/modules/ngx_http_proxy_module.c if (plcf->upstream.ssl == NULL) { plcf 2754 http/modules/ngx_http_proxy_module.c plcf->upstream.ssl->log = cf->log; plcf 2756 http/modules/ngx_http_proxy_module.c if (ngx_ssl_create(plcf->upstream.ssl, plcf 2769 http/modules/ngx_http_proxy_module.c cln->data = plcf->upstream.ssl; plcf 186 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_loc_conf_t *plcf; plcf 211 http/modules/perl/ngx_http_perl_module.c plcf = ngx_http_get_module_loc_conf(r, ngx_http_perl_module); plcf 212 http/modules/perl/ngx_http_perl_module.c sub = plcf->sub; plcf 213 http/modules/perl/ngx_http_perl_module.c handler = &plcf->handler; plcf 874 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_loc_conf_t *plcf; plcf 876 http/modules/perl/ngx_http_perl_module.c plcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_loc_conf_t)); plcf 877 http/modules/perl/ngx_http_perl_module.c if (plcf == NULL) { plcf 887 http/modules/perl/ngx_http_perl_module.c return plcf; plcf 909 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_loc_conf_t *plcf = conf; plcf 917 http/modules/perl/ngx_http_perl_module.c if (plcf->handler.data) { plcf 931 http/modules/perl/ngx_http_perl_module.c plcf->handler = value[1]; plcf 938 http/modules/perl/ngx_http_perl_module.c ngx_http_perl_eval_anon_sub(aTHX_ &value[1], &plcf->sub); plcf 940 http/modules/perl/ngx_http_perl_module.c if (plcf->sub == &PL_sv_undef) { plcf 946 http/modules/perl/ngx_http_perl_module.c if (plcf->sub == NULL) { plcf 947 http/modules/perl/ngx_http_perl_module.c plcf->sub = newSVpvn((char *) value[1].data, value[1].len);