Lines Matching refs:alen
962 h2_recv_end_data (request_st * const r, connection * const con, const uint32_t alen) in h2_recv_end_data() argument
969 r->reqbody_length = reqbody_queue->bytes_in + (off_t)alen; in h2_recv_end_data()
970 else if (r->reqbody_length != reqbody_queue->bytes_in + (off_t)alen) { in h2_recv_end_data()
997 uint32_t alen = len; /* actual data len, minus padding */ in h2_recv_data() local
1005 alen -= (1 + pad); in h2_recv_data()
1009 if (h2r->h2_rwin <= 0 && 0 != alen) { /*(always proceed if 0 == alen)*/ in h2_recv_data()
1048 if (!h2c->sent_goaway && 0 != alen) in h2_recv_data()
1062 if (r->h2_rwin <= 0 && 0 != alen) {/*(always proceed if 0==alen)*/ in h2_recv_data()
1087 if (r->reqbody_length >= 0 && r->reqbody_length < dst->bytes_in + alen) { in h2_recv_data()
1090 alen = r->reqbody_length - dst->bytes_in; in h2_recv_data()
1101 rq->bytes_in += (off_t)alen; in h2_recv_data()
1102 rq->bytes_out += (off_t)alen; in h2_recv_data()
1106 if (!h2_recv_end_data(r, con, alen)) { in h2_recv_data()
1118 off_t n = max_request_size - dst->bytes_in - (off_t)alen; in h2_recv_data()
1129 (long long) (dst->bytes_in + (off_t)alen)); in h2_recv_data()
1174 || chunkqueue_length(dst) + alen > 65536) { in h2_recv_data()
1176 if (0 != chunkqueue_steal_with_tempfiles(dst, cq, (off_t)alen, errh)) { in h2_recv_data()
1182 chunkqueue_steal(dst, cq, (off_t)alen); in h2_recv_data()
1568 uint32_t alen = flen; in h2_recv_headers() local
1572 if (alen < 1 + pad) { in h2_recv_headers()
1584 alen -= (1 + pad); /*(alen is adjusted for PRIORITY below)*/ in h2_recv_headers()
1588 if (alen < 5 || (/*prio = */h2_u32(psrc)) == id) { in h2_recv_headers()
1603 alen -= 5; in h2_recv_headers()
1606 h2_parse_headers_frame(r, psrc, alen, trailers); in h2_recv_headers()
2145 uint32_t alen = 7+3+4; /* ":status: xxx\r\n" */ in h2_send_headers() local
2198 alen += klen + vlen + 4; in h2_send_headers()
2200 if (alen > LSXPACK_MAX_STRLEN) { in h2_send_headers()
2224 alen -= klen + vlen + 4; in h2_send_headers()
2286 alen += 35+2; in h2_send_headers()
2303 alen += 6+vlen+4; in h2_send_headers()
2324 alen += 2; /* "virtual" blank line ("\r\n") ending headers */ in h2_send_headers()
2325 r->resp_header_len = alen; in h2_send_headers()
2328 wq->bytes_in += (off_t)alen; in h2_send_headers()
2329 wq->bytes_out += (off_t)alen; in h2_send_headers()