Lines Matching refs:target

587         if (buffer_is_blank(&r->target))  in http_request_validate_pseudohdrs()
591 const char * const uri = r->target.ptr; in http_request_validate_pseudohdrs()
603 if (!buffer_is_blank(&r->target) || scheme) in http_request_validate_pseudohdrs()
609 buffer_copy_buffer(&r->target, r->http_host); in http_request_validate_pseudohdrs()
611 buffer_copy_buffer(&r->target_orig, &r->target); in http_request_validate_pseudohdrs()
619 const uint32_t len = buffer_clen(&r->target);/*(http_header_strict)*/ in http_request_validate_pseudohdrs()
623 : http_request_check_uri_strict((const uint8_t *)r->target.ptr, len) in http_request_validate_pseudohdrs()
624 : http_request_check_line_minimal(r->target.ptr, len); in http_request_validate_pseudohdrs()
723 if (__builtin_expect( (!buffer_is_blank(&r->target)), 0)) in http_request_parse_header()
725 buffer_copy_string_len(&r->target, v, vlen); in http_request_parse_header()
944 buffer_copy_string_len(&r->target, uri, len); in http_request_parse_reqline()
982 buffer * const target = &r->target; in http_request_parse_target() local
985 && target->ptr[0] == '*' in http_request_parse_target()
986 && target->ptr[1] == '\0')) { in http_request_parse_target()
988 buffer_copy_buffer(&r->uri.path, target); in http_request_parse_target()
996 int qs = burl_normalize(target, r->tmp_buf, r->conf.http_parseopts); in http_request_parse_target()
1000 qstr = (-1 == qs) ? NULL : target->ptr+qs; in http_request_parse_target()
1007 len = buffer_clen(target); in http_request_parse_target()
1021 size_t rlen = buffer_clen(target); in http_request_parse_target()
1022 qstr = memchr(target->ptr, '#', rlen);/* discard fragment */ in http_request_parse_target()
1024 rlen = (size_t)(qstr - target->ptr); in http_request_parse_target()
1025 buffer_truncate(target, rlen); in http_request_parse_target()
1027 qstr = memchr(target->ptr, '?', rlen); in http_request_parse_target()
1031 const char * const pstr = target->ptr; in http_request_parse_target()
1032 const uint32_t rlen = buffer_clen(target); in http_request_parse_target()
1372 !buffer_is_blank(&r->target) ? r->target.ptr : ""); in http_request_headers_process_h2()