Lines Matching refs:body_nbytes
75 int body_nbytes; member
400 h, h->body_nbytes, in httpread_read_handler()
487 if (h->body_alloc_nbytes < (h->body_nbytes + nread + 1)) { in httpread_read_handler()
491 if (h->body_nbytes >= h->max_bytes) { in httpread_read_handler()
494 h->body_nbytes, h->max_bytes); in httpread_read_handler()
528 bbp = h->body + h->body_nbytes; in httpread_read_handler()
557 h->body_nbytes = h->chunk_start; in httpread_read_handler()
573 if ((h->body_nbytes - h->chunk_start) == in httpread_read_handler()
588 h->body_nbytes -= 2; in httpread_read_handler()
590 h->chunk_start = h->body_nbytes; in httpread_read_handler()
595 h->body_nbytes >= h->content_length) { in httpread_read_handler()
609 h->body_nbytes; in httpread_read_handler()
614 h->body_nbytes++; in httpread_read_handler()
617 ncopy = h->content_length - h->body_nbytes; in httpread_read_handler()
631 h->body_nbytes += ncopy; in httpread_read_handler()
696 h->body_nbytes, h->hdr_type); in httpread_read_handler()
698 h->body, h->body_nbytes); in httpread_read_handler()
701 h->body[h->body_nbytes] = 0; /* null terminate */ in httpread_read_handler()
796 return h->body_nbytes; in httpread_length_get()