Lines Matching refs:parser

502         ret = nxt_http_parse_request_init(&h1p->parser, r->mem_pool);  in nxt_h1p_conn_request_init()
515 h1p->parser.discard_unsafe_fields = skcf->discard_unsafe_fields; in nxt_h1p_conn_request_init()
559 ret = nxt_http_parse_request(&h1p->parser, &c->read->mem); in nxt_h1p_conn_request_header_parse()
577 h1p->keepalive = (h1p->parser.version.s.minor != '0'); in nxt_h1p_conn_request_header_parse()
644 r->target.start = h1p->parser.target_start; in nxt_h1p_header_process()
645 r->target.length = h1p->parser.target_end - h1p->parser.target_start; in nxt_h1p_header_process()
647 if (h1p->parser.version.ui64 != 0) { in nxt_h1p_header_process()
648 r->version.start = h1p->parser.version.str; in nxt_h1p_header_process()
649 r->version.length = sizeof(h1p->parser.version.str); in nxt_h1p_header_process()
652 r->method = &h1p->parser.method; in nxt_h1p_header_process()
653 r->path = &h1p->parser.path; in nxt_h1p_header_process()
654 r->args = &h1p->parser.args; in nxt_h1p_header_process()
656 r->fields = h1p->parser.fields; in nxt_h1p_header_process()
664 m = h1p->parser.method.start; in nxt_h1p_header_process()
666 if (nxt_slow_path(h1p->parser.method.length != 3 in nxt_h1p_header_process()
676 if (nxt_slow_path(h1p->parser.version.s.minor != '1')) { in nxt_h1p_header_process()
1277 http11 = (h1p->parser.version.s.minor != '0'); in nxt_h1p_request_header_send()
2154 ret = nxt_http_parse_request_init(&h1p->parser, r->mem_pool); in nxt_h1p_peer_connect()
2523 peer->fields = peer->proto.h1->parser.fields; in nxt_h1p_peer_header_read_done()
2622 return nxt_http_parse_fields(&peer->proto.h1->parser, bm); in nxt_h1p_peer_header_parse()