Searched refs:hpctx (Results 1 – 3 of 3) sorted by relevance
637 const char * const restrict k = hpctx->k; in http_request_parse_header()638 const char * restrict v = hpctx->v; in http_request_parse_header()639 const uint32_t klen = hpctx->klen; in http_request_parse_header()640 uint32_t vlen = hpctx->vlen; in http_request_parse_header()646 if ((hpctx->hlen += klen + vlen + 4) > hpctx->max_request_field_size) { in http_request_parse_header()659 if (!hpctx->trailers) { in http_request_parse_header()678 hpctx->id = HTTP_HEADER_H2_PATH; in http_request_parse_header()697 if (hpctx->id >= HTTP_HEADER_H2_UNKNOWN) in http_request_parse_header()702 switch (hpctx->id) { in http_request_parse_header()740 hpctx->scheme = 1; in http_request_parse_header()[all …]
1387 http_header_parse_ctx hpctx; in h2_parse_headers_frame() local1388 hpctx.hlen = 0; in h2_parse_headers_frame()1390 hpctx.scheme = 0; in h2_parse_headers_frame()1391 hpctx.trailers = trailers; in h2_parse_headers_frame()1424 hpctx.klen = lsx.name_len; in h2_parse_headers_frame()1425 hpctx.vlen = lsx.val_len; in h2_parse_headers_frame()1432 (int)hpctx.klen, hpctx.k, (int)hpctx.vlen, hpctx.v); in h2_parse_headers_frame()1484 hpctx.hlen += 2; in h2_parse_headers_frame()1485 r->rqst_header_len += hpctx.hlen; in h2_parse_headers_frame()1488 rq->bytes_in += (off_t)hpctx.hlen; in h2_parse_headers_frame()[all …]
222 int http_request_parse_header (request_st * restrict r, http_header_parse_ctx * restrict hpctx);