Lines Matching refs:is_req
389 …map_host_match (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, int is_req, size_t alen) in http_header_remap_host_match() argument
391 const array *hosts = is_req in http_header_remap_host_match()
405 k = is_req in http_header_remap_host_match()
417 if (is_req && NULL == remap_hdrs->forwarded_host) in http_header_remap_host_match()
430 …der_remap_host (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, int is_req, size_t alen) in http_header_remap_host() argument
433 http_header_remap_host_match(b, off, remap_hdrs, is_req, alen); in http_header_remap_host()
442 …t http_header_remap_urlpath (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, int is_req) in http_header_remap_urlpath() argument
448 if (is_req) { /* request */ in http_header_remap_urlpath()
484 … void http_header_remap_uri (buffer *b, size_t off, http_header_remap_opts *remap_hdrs, int is_req) in http_header_remap_uri() argument
510 m = http_header_remap_host_match(b, off, remap_hdrs, is_req, alen); in http_header_remap_uri()
513 && (is_req ? 5==slen && 0==memcmp(b->ptr+off-slen-3,"https",5) in http_header_remap_uri()
515 if (is_req) { in http_header_remap_uri()
533 http_header_remap_urlpath(b, off, remap_hdrs, is_req); in http_header_remap_uri()