Lines Matching refs:nread_resp
143 pp->nread_resp = 0; in Curl_pp_init()
284 ptr=buf + pp->nread_resp; in Curl_pp_readresp()
289 while((pp->nread_resp<BUFSIZE) && (keepon && !result)) { in Curl_pp_readresp()
311 DEBUGASSERT((ptr+BUFSIZE-pp->nread_resp) <= (buf+BUFSIZE+1)); in Curl_pp_readresp()
312 result = Curl_read(conn, sockfd, ptr, BUFSIZE-pp->nread_resp, in Curl_pp_readresp()
348 pp->nread_resp += gotbytes; in Curl_pp_readresp()
383 *size = pp->nread_resp; /* size of the response */ in Curl_pp_readresp()
384 pp->nread_resp = 0; /* restart */ in Curl_pp_readresp()
417 else if(pp->nread_resp > BUFSIZE/2) { in Curl_pp_readresp()
439 pp->nread_resp = 0; /* start over from scratch in the buffer */ in Curl_pp_readresp()
506 return (!pp->sendleft && pp->cache && pp->nread_resp < pp->cache_size) ? in Curl_pp_moredata()