Lines Matching refs:sendleft
112 else if(!pp->sendleft && Curl_conn_data_pending(data, FIRSTSOCKET)) in Curl_pp_statemach()
116 rc = Curl_socket_check(pp->sendleft ? CURL_SOCKET_BAD : sock, /* reading */ in Curl_pp_statemach()
118 pp->sendleft ? sock : CURL_SOCKET_BAD, /* writing */ in Curl_pp_statemach()
177 DEBUGASSERT(pp->sendleft == 0); in Curl_pp_vsendf()
221 pp->sendleft = write_len - bytes_written; in Curl_pp_vsendf()
225 pp->sendleft = pp->sendsize = 0; in Curl_pp_vsendf()
394 if(pp->sendleft) { in Curl_pp_getsock()
407 return pp->sendleft > 0; in Curl_pp_needs_flush()
421 pp->sendthis + pp->sendsize - pp->sendleft, in Curl_pp_flushsend()
422 pp->sendleft, FALSE, &written); in Curl_pp_flushsend()
430 if(written != pp->sendleft) { in Curl_pp_flushsend()
432 pp->sendleft -= written; in Curl_pp_flushsend()
436 pp->sendleft = pp->sendsize = 0; in Curl_pp_flushsend()
451 return (!pp->sendleft && Curl_dyn_len(&pp->recvbuf) > pp->nfinal); in Curl_pp_moredata()