Home
last modified time | relevance | path

Searched refs:gotbytes (Results 1 – 2 of 2) sorted by relevance

/external/curl/lib/
Dpingpong.c280 ssize_t gotbytes; in Curl_pp_readresp() local
311 gotbytes = (ssize_t)pp->cache_size; in Curl_pp_readresp()
325 &gotbytes); in Curl_pp_readresp()
333 if(!result && (gotbytes > 0)) in Curl_pp_readresp()
335 result = Curl_convert_from_network(data, ptr, gotbytes); in Curl_pp_readresp()
345 else if(gotbytes <= 0) { in Curl_pp_readresp()
358 data->req.headerbytecount += (long)gotbytes; in Curl_pp_readresp()
360 pp->nread_resp += gotbytes; in Curl_pp_readresp()
361 for(i = 0; i < gotbytes; ptr++, i++) { in Curl_pp_readresp()
404 if(!keepon && (i != gotbytes)) { in Curl_pp_readresp()
[all …]
Dhttp_proxy.c331 ssize_t gotbytes; in CONNECT() local
341 result = Curl_read(conn, tunnelsocket, s->ptr, 1, &gotbytes); in CONNECT()
353 else if(gotbytes <= 0) { in CONNECT()
475 r = Curl_httpchunk_read(conn, s->line_start + 1, 1, &gotbytes); in CONNECT()