Searched refs:http_host (Results 1 – 12 of 12) sorted by relevance
| /lighttpd1.4/src/t/ |
| H A D | test_request.c | 16 r->http_host = NULL; in test_request_reset() 157 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("www.example.org"))); in test_request_http_request_parse() 164 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("127.0.0.1"))); in test_request_http_request_parse() 171 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("[::1]"))); in test_request_http_request_parse() 178 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("www.example.org"))); in test_request_http_request_parse() 185 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("127.0.0.1"))); in test_request_http_request_parse() 192 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("[::1]"))); in test_request_http_request_parse() 211 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("jsdh.sfdg.sdfg"))); in test_request_http_request_parse() 254 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("a.b-c.d123"))); in test_request_http_request_parse() 404 assert(r->http_host && buffer_eq_slen(r->http_host, CONST_STR_LEN("www.example.org"))); in test_request_http_request_parse()
|
| /lighttpd1.4/src/ |
| H A D | request.c | 340 r->http_host = http_header_request_set_ptr(r, HTTP_HEADER_HOST, in http_request_header_set_Host() 342 buffer_copy_string_len_lc(r->http_host, h, hlen); in http_request_header_set_Host() 432 else if (NULL != r->http_host in http_request_parse_single_header() 433 && __builtin_expect( buffer_eq_slen(r->http_host,v,vlen), 1)) { in http_request_parse_single_header() 600 if (NULL == r->http_host) in http_request_validate_pseudohdrs() 609 buffer_copy_buffer(&r->target, r->http_host); in http_request_validate_pseudohdrs() 704 if (__builtin_expect( (r->http_host != NULL), 0)) in http_request_parse_header() 1223 if (__builtin_expect( (r->http_host != NULL), 1)) { in http_request_parse() 1224 if (0 != http_request_host_policy(r->http_host, in http_request_parse() 1227 buffer_copy_buffer(&r->uri.authority, r->http_host); in http_request_parse() [all …]
|
| H A D | mod_proxy.c | 34 const buffer *http_host; member 406 ? remap_hdrs->http_host in http_header_remap_host_match() 413 return remap_hdrs->http_host; in http_header_remap_host_match() 749 } else if (r->http_host && !buffer_is_blank(r->http_host)) { in proxy_set_Forwarded() 754 b, BUF_PTR_LEN(r->http_host)); in proxy_set_Forwarded() 781 b = r->http_host; in proxy_set_Forwarded() 869 } else if (r->http_host && !buffer_is_unset(r->http_host)) { in proxy_create_env() 871 BUF_PTR_LEN(r->http_host)); in proxy_create_env() 873 size_t alen = buffer_clen(r->http_host); in proxy_create_env() 1138 hctx->conf.header.http_host = r->http_host; in mod_proxy_check_extension()
|
| H A D | mod_authn_gssapi.c | 363 if (r->http_host && !buffer_is_blank(r->http_host)) in mod_authn_gssapi_check_spnego() 365 r->http_host->ptr, in mod_authn_gssapi_check_spnego() 366 strcspn(r->http_host->ptr, ":")); in mod_authn_gssapi_check_spnego() 671 if (r->http_host && !buffer_is_blank(r->http_host)) in mod_authn_gssapi_basic() 673 r->http_host->ptr, in mod_authn_gssapi_basic() 674 strcspn(r->http_host->ptr, ":")); in mod_authn_gssapi_basic()
|
| H A D | mod_extforward.c | 926 if (r->http_host && !buffer_is_blank(r->http_host)) { in mod_extforward_Forwarded() 930 BUF_PTR_LEN(r->http_host)); in mod_extforward_Forwarded() 933 r->http_host = in mod_extforward_Forwarded() 943 buffer_copy_string_len_lc(r->http_host, s+v, vlen-v); in mod_extforward_Forwarded() 944 if (!buffer_backslash_unescape(r->http_host)) { in mod_extforward_Forwarded() 950 buffer_copy_string_len_lc(r->http_host, s+v, vlen-v); in mod_extforward_Forwarded() 953 if (0 != http_request_host_policy(r->http_host, in mod_extforward_Forwarded()
|
| H A D | mod_wstunnel.c | 456 if (!r->http_host || buffer_is_blank(r->http_host)) { in wstunnel_check_request() 742 if (!r->http_host || buffer_is_blank(r->http_host)) { in create_response_ietf_00() 777 buffer_append_str2(value, BUF_PTR_LEN(r->http_host), in create_response_ietf_00()
|
| H A D | request.h | 160 buffer *http_host; /* copy of array value buffer ptr; not alloc'ed */ member
|
| H A D | reqpool.c | 97 r->http_host = NULL; in request_reset()
|
| H A D | response.c | 583 if (__builtin_expect( (r->http_host != NULL), 1)) in http_response_comeback() 584 buffer_copy_string_len_lc(&r->uri.authority, BUF_PTR_LEN(r->http_host)); in http_response_comeback()
|
| H A D | h2.c | 2976 r->http_host = h2r->http_host; in h2_con_upgrade_h2c() 2977 h2r->http_host = NULL; in h2_con_upgrade_h2c()
|
| H A D | mod_magnet.c | 1592 r->http_host = http_header_request_set_ptr(r, HTTP_HEADER_HOST, in magnet_reqhdr_set() 1594 buffer_copy_string_len_lc(r->http_host, v.ptr, v.len); in magnet_reqhdr_set()
|
| /lighttpd1.4/ |
| H A D | NEWS | 739 * [core] adjust r->http_host ptr caching 820 * [core] lowercase r->http_host, r->uri.authority
|