Searched refs:clen (Results 1 – 8 of 8) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | chunk.c | 706 off_t clen; in chunkqueue_steal() local 713 if (len >= clen) { in chunkqueue_steal() 738 clen = len; in chunkqueue_steal() 955 dlen += clen; in chunkqueue_append_cqmem_to_tempfile() 972 if (clen > len) clen = len; in chunkqueue_append_cqmem_to_tempfile() 1171 off_t clen; in chunkqueue_steal_with_tempfiles() local 1185 if (len < clen) clen = len; in chunkqueue_steal_with_tempfiles() 1192 if (len < clen) clen = len; in chunkqueue_steal_with_tempfiles() 1201 if (clen in chunkqueue_steal_with_tempfiles() 1229 if (len < clen) clen = len; in chunkqueue_append_cq_range() [all …]
|
| H A D | http_chunk.c | 412 off_t clen = te_chunked - 2; in http_chunk_decode_append_data() local 413 if (clen > len) clen = len; in http_chunk_decode_append_data() 415 && 0 != http_chunk_append_mem(r, mem, clen)) in http_chunk_decode_append_data() 417 mem += clen; in http_chunk_decode_append_data() 418 len -= clen; in http_chunk_decode_append_data() 419 te_chunked -= clen; in http_chunk_decode_append_data()
|
| H A D | h2.c | 1218 if (clen < n+9) { in h2_recv_continuation() 1242 if (clen < n) { in h2_recv_continuation() 1309 if (clen < n+9+flen) { in h2_recv_continuation() 1330 n = m + (clen-n); in h2_recv_continuation() 1724 if (clen < 9) { in h2_parse_frames() 1740 if (clen < 9+flen) { in h2_parse_frames() 1750 clen = h2_recv_continuation(9+flen, clen, cqlen, cq, con); in h2_parse_frames() 1807 if (clen < 9+flen) { in h2_parse_frames() 1808 clen = h2_frame_cq_compact(cq, 9+flen); UNUSED(clen); in h2_parse_frames() 1863 if (clen < 9) { in h2_want_read() [all …]
|
| H A D | connections.c | 591 const size_t clen = chunkqueue_length(cq); in connection_read_header_more() local 594 chunkqueue_compact_mem(cq, block > clen ? clen : block); in connection_read_header_more() 643 uint32_t clen = 0; in connection_handle_read_state() local 669 clen = buffer_clen(c->mem) - c->offset; in connection_handle_read_state() 670 if (0 == clen) continue; in connection_handle_read_state() 678 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() 698 if (header_len == clen) continue; in connection_handle_read_state() 703 clen = 0;/*(for connection_read_header_more() to return c)*/ in connection_handle_read_state() 723 } while ((c = connection_read_header_more(con, cq, c, clen))); in connection_handle_read_state()
|
| H A D | http_header.h | 140 uint32_t http_header_parse_hoff (const char *n, const uint32_t clen, unsigned short hoff[8192]);
|
| H A D | http_header.c | 362 http_header_parse_hoff (const char *n, const uint32_t clen, unsigned short hoff[8192]) in http_header_parse_hoff() argument 365 for (const char *b; (n = memchr((b = n),'\n',clen-hlen)); ++n) { in http_header_parse_hoff()
|
| H A D | chunk.h | 155 void chunkqueue_compact_mem(chunkqueue *cq, size_t clen);
|
| H A D | request.c | 464 off_t clen = (off_t)li_restricted_strtoint64(v, vlen, &err); in http_request_parse_single_header() local 467 if (0 == r->reqbody_length) r->reqbody_length = clen; in http_request_parse_single_header()
|