Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 5 of 5) sorted by relevance

/unit/src/
H A Dnxt_http_parse.c135 rc = rp->handler(rp, &b->pos, b->free); in nxt_http_parse_request()
152 rc = rp->handler(rp, &b->pos, b->free); in nxt_http_parse_fields()
206 rp->method.length = p - rp->method.start; in nxt_http_parse_request_line()
215 rp->method.length = p - rp->method.start; in nxt_http_parse_request_line()
230 rp->method.length = p - rp->method.start; in nxt_http_parse_request_line()
452 rp->path.start = rp->target_start; in nxt_http_parse_request_line()
455 rp->path.length = args - rp->target_start - 1; in nxt_http_parse_request_line()
457 rp->args.length = rp->target_end - args; in nxt_http_parse_request_line()
461 rp->path.length = rp->target_end - rp->target_start; in nxt_http_parse_request_line()
875 u = nxt_mp_alloc(rp->mem_pool, rp->target_end - p + 1); in nxt_http_parse_complex_target()
[all …]
H A Dnxt_http_parse.h37 nxt_int_t (*handler)(nxt_http_request_parse_t *rp,
115 nxt_int_t nxt_http_parse_request_init(nxt_http_request_parse_t *rp,
117 nxt_int_t nxt_http_parse_request(nxt_http_request_parse_t *rp,
119 nxt_int_t nxt_http_parse_fields(nxt_http_request_parse_t *rp,
/unit/src/test/
H A Dnxt_http_parse_test.c42 nxt_int_t (*handler)(nxt_http_request_parse_t *rp,
535 nxt_http_request_parse_t rp; in nxt_http_parse_test() local
645 rc = nxt_http_parse_request(rp, &buf); in nxt_http_parse_test_run()
660 nxt_http_request_parse_t rp; in nxt_http_parse_test_bench() local
723 if (rp->method.start != test->method.start in nxt_http_parse_test_request_line()
724 && !nxt_strstr_eq(&rp->method, &test->method)) in nxt_http_parse_test_request_line()
733 str.length = rp->target_end - rp->target_start; in nxt_http_parse_test_request_line()
734 str.start = rp->target_start; in nxt_http_parse_test_request_line()
746 if (rp->args.start != test->args.start in nxt_http_parse_test_request_line()
747 && !nxt_strstr_eq(&rp->args, &test->args)) in nxt_http_parse_test_request_line()
[all …]
/unit/pkg/npm/
H A DMakefile13 cp -rp ../../src/nodejs/unit-http .
/unit/auto/modules/
H A Dnodejs158 cp -rp src/nodejs/unit-http/* ${NXT_NODE_TMP}/
164 cp -rp src/nodejs/unit-http/* ${NXT_NODE_TMP_G}/