Lines Matching refs:header

52     http_header_remap_opts header;  member
127 pconf->header = *(http_header_remap_opts *)cpv->v.v; /*(copies struct)*/ in mod_proxy_merge_config_cpv()
194 http_header_remap_opts header; in mod_proxy_parse_header_opts() local
195 memset(&header, 0, sizeof(header)); in mod_proxy_parse_header_opts()
206 header.https_remap = val; in mod_proxy_parse_header_opts()
217 header.force_http10 = val; in mod_proxy_parse_header_opts()
228 header.upgrade = val; in mod_proxy_parse_header_opts()
239 header.connect_method = val; in mod_proxy_parse_header_opts()
250 header.urlpaths = &da->value; in mod_proxy_parse_header_opts()
253 header.hosts_request = &da->value; in mod_proxy_parse_header_opts()
256 header.hosts_response = &da->value; in mod_proxy_parse_header_opts()
267 http_header_remap_opts *opts = ck_malloc(sizeof(header)); in mod_proxy_parse_header_opts()
268 memcpy(opts, &header, sizeof(header)); in mod_proxy_parse_header_opts()
365 p->defaults.header.force_http10 = in SETDEFAULTS_FUNC()
837 const int remap_headers = (NULL != hctx->conf.header.urlpaths in proxy_create_env()
838 || NULL != hctx->conf.header.hosts_request); in proxy_create_env()
856 &hctx->conf.header, 1); in proxy_create_env()
858 buffer_append_string_len(b, !hctx->conf.header.force_http10 in proxy_create_env()
874 http_header_remap_host(b, buffer_clen(b) - alen, &hctx->conf.header, 1, alen); in proxy_create_env()
899 if (__builtin_expect( (hctx->conf.header.force_http10), 0)) in proxy_create_env()
929 if (hctx->conf.header.force_http10 || r->http_version == HTTP_VERSION_1_0) continue; in proxy_create_env()
936 if (hctx->conf.header.force_http10 in proxy_create_env()
939 if (!hctx->conf.header.upgrade) continue; in proxy_create_env()
986 http_header_remap_uri(b, buffer_clen(b) - vlen, &hctx->conf.header, 1); in proxy_create_env()
989 if (connhdr && !hctx->conf.header.force_http10 && r->http_version >= HTTP_VERSION_1_1 in proxy_create_env()
1057 http_header_remap_opts * const remap_hdrs = &hctx->conf.header; in proxy_response_headers()
1138 hctx->conf.header.http_host = r->http_host; in mod_proxy_check_extension()
1139 hctx->conf.header.upgrade &= in mod_proxy_check_extension()
1145 if (hctx->conf.header.https_remap) { in mod_proxy_check_extension()
1146 hctx->conf.header.https_remap = in mod_proxy_check_extension()
1154 && (hctx->conf.header.connect_method = in mod_proxy_check_extension()
1155 hctx->conf.header.upgrade)) { /*(405 if not set)*/ in mod_proxy_check_extension()
1159 else if (hctx->conf.header.connect_method) { in mod_proxy_check_extension()