Searched refs:header_len (Results 1 – 2 of 2) sorted by relevance
565 connection_discard_blank_line (chunkqueue * const cq, uint32_t header_len) in connection_discard_blank_line() argument568 chunkqueue_mark_written(cq, header_len); in connection_discard_blank_line()644 uint32_t header_len = 0; in connection_handle_read_state() local678 header_len = http_header_parse_hoff(c->mem->ptr + c->offset,clen,hoff); in connection_handle_read_state()684 if ((header_len ? header_len : clen) > max_request_field_size in connection_handle_read_state()693 if (__builtin_expect( (0 != header_len), 1)) { in connection_handle_read_state()698 if (header_len == clen) continue; in connection_handle_read_state()699 const int ch = c->mem->ptr[c->offset+header_len]; in connection_handle_read_state()704 c = connection_discard_blank_line(cq, header_len);/*cold*/ in connection_handle_read_state()768 r->rqst_header_len = header_len; in connection_handle_read_state()[all …]
1120 uint32_t header_len, is_nph = 0; in http_response_parse_headers() local1126 header_len = http_header_parse_hoff(b->ptr, blen, hoff); in http_response_parse_headers()1127 if ((header_len ? header_len : blen) > MAX_HTTP_RESPONSE_FIELD_SIZE) { in http_response_parse_headers()1162 if (0 == header_len) /* headers incomplete */ in http_response_parse_headers()1166 bstart = b->ptr + header_len; in http_response_parse_headers()1167 blen -= header_len; in http_response_parse_headers()