Lines Matching refs:headers

63     ngx_http_proxy_headers_t       headers;  member
176 ngx_http_proxy_loc_conf_t *conf, ngx_http_proxy_headers_t *headers,
1184 ngx_http_proxy_headers_t *headers; in ngx_http_proxy_create_request() local
1194 headers = u->cacheable ? &plcf->headers_cache : &plcf->headers; in ngx_http_proxy_create_request()
1196 headers = &plcf->headers; in ngx_http_proxy_create_request()
1258 ngx_http_script_flush_no_cacheable_variables(r, headers->flushes); in ngx_http_proxy_create_request()
1282 le.ip = headers->lengths->elts; in ngx_http_proxy_create_request()
1305 part = &r->headers_in.headers.part; in ngx_http_proxy_create_request()
1320 if (ngx_hash_find(&headers->hash, header[i].hash, in ngx_http_proxy_create_request()
1392 e.ip = headers->values->elts; in ngx_http_proxy_create_request()
1397 le.ip = headers->lengths->elts; in ngx_http_proxy_create_request()
1441 part = &r->headers_in.headers.part; in ngx_http_proxy_create_request()
1456 if (ngx_hash_find(&headers->hash, header[i].hash, in ngx_http_proxy_create_request()
1834 h = ngx_list_push(&r->upstream->headers_in.headers); in ngx_http_proxy_process_header()
1893 h = ngx_list_push(&r->upstream->headers_in.headers); in ngx_http_proxy_process_header()
1907 h = ngx_list_push(&r->upstream->headers_in.headers); in ngx_http_proxy_process_header()
3387 conf->headers = prev->headers; in ngx_http_proxy_merge_loc_conf()
3394 rc = ngx_http_proxy_init_headers(cf, conf, &conf->headers, in ngx_http_proxy_merge_loc_conf()
3417 if (prev->headers.hash.buckets == NULL in ngx_http_proxy_merge_loc_conf()
3420 prev->headers = conf->headers; in ngx_http_proxy_merge_loc_conf()
3438 ngx_http_proxy_headers_t *headers, ngx_keyval_t *default_headers) in ngx_http_proxy_init_headers() argument
3451 if (headers->hash.buckets) { in ngx_http_proxy_init_headers()
3467 headers->lengths = ngx_array_create(cf->pool, 64, 1); in ngx_http_proxy_init_headers()
3468 if (headers->lengths == NULL) { in ngx_http_proxy_init_headers()
3472 headers->values = ngx_array_create(cf->pool, 512, 1); in ngx_http_proxy_init_headers()
3473 if (headers->values == NULL) { in ngx_http_proxy_init_headers()
3531 copy = ngx_array_push_n(headers->lengths, in ngx_http_proxy_init_headers()
3545 copy = ngx_array_push_n(headers->values, size); in ngx_http_proxy_init_headers()
3560 sc.flushes = &headers->flushes; in ngx_http_proxy_init_headers()
3561 sc.lengths = &headers->lengths; in ngx_http_proxy_init_headers()
3562 sc.values = &headers->values; in ngx_http_proxy_init_headers()
3568 code = ngx_array_push_n(headers->lengths, sizeof(uintptr_t)); in ngx_http_proxy_init_headers()
3575 code = ngx_array_push_n(headers->values, sizeof(uintptr_t)); in ngx_http_proxy_init_headers()
3583 code = ngx_array_push_n(headers->lengths, sizeof(uintptr_t)); in ngx_http_proxy_init_headers()
3591 hash.hash = &headers->hash; in ngx_http_proxy_init_headers()