Searched refs:content_length (Results 1 – 6 of 6) sorted by relevance
69 int content_length; /* body length, iff got_content_length */ member168 h->content_length = atol(hbp); in httpread_hdr_option_analyze()169 if (h->content_length < 0 || h->content_length > h->max_bytes) { in httpread_hdr_option_analyze()172 h->content_length); in httpread_hdr_option_analyze()401 h->content_length); in httpread_read_handler()455 if (h->got_content_length && h->content_length == 0) { in httpread_read_handler()504 new_alloc_nbytes < (h->content_length + 1)) in httpread_read_handler()505 new_alloc_nbytes = h->content_length + 1; in httpread_read_handler()595 h->body_nbytes >= h->content_length) { in httpread_read_handler()617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler()
416 size_t content_length = in DecompressPacket() local444 content_length = hash_mark_idx - content_start; in DecompressPacket()491 unescaped_content.reserve(content_length); in DecompressPacket()639 size_t content_length = 0; in CheckForPacket() local656 content_length = total_length = 1; // The command is one byte long... in CheckForPacket()674 content_length = hash_pos - 1; in CheckForPacket()680 content_length = std::string::npos; in CheckForPacket()714 if (content_length == std::string::npos) { in CheckForPacket()720 assert(content_length <= m_bytes.size()); in CheckForPacket()722 assert(content_length <= total_length); in CheckForPacket()[all …]
515 size_t content_length) in evhttp_maybe_add_content_length_header() argument521 EV_SIZE_ARG(content_length)); in evhttp_maybe_add_content_length_header()2162 const char *content_length; in evhttp_get_body_length() local2165 content_length = evhttp_find_header(headers, "Content-Length"); in evhttp_get_body_length()2168 if (content_length == NULL && connection == NULL) in evhttp_get_body_length()2170 else if (content_length == NULL && in evhttp_get_body_length()2173 } else if (content_length == NULL) { in evhttp_get_body_length()2177 ev_int64_t ntoread = evutil_strtoll(content_length, &endp, 10); in evhttp_get_body_length()2178 if (*content_length == '\0' || *endp != '\0' || ntoread < 0) { in evhttp_get_body_length()2180 __func__, content_length)); in evhttp_get_body_length()
970 size_t content_length; member
3126 !h2_stream->content_length && namelen == 14 && in http2_req_header_cb()3133 h2_stream->content_length = atoi((const char*)value); in http2_req_header_cb()3134 if(h2_stream->content_length > in http2_req_header_cb()3162 if(h2_stream->content_length) { in http2_req_data_chunk_recv_cb()3163 if(h2_stream->content_length < len) in http2_req_data_chunk_recv_cb()3167 qlen = h2_stream->content_length; in http2_req_data_chunk_recv_cb()