Lines Matching refs:sendbuf
75 Curl_bufq_init2(&req->sendbuf, data->set.upload_buffer_size, 1, in Curl_req_soft_reset()
80 Curl_bufq_reset(&req->sendbuf); in Curl_req_soft_reset()
81 if(data->set.upload_buffer_size != req->sendbuf.chunk_size) { in Curl_req_soft_reset()
82 Curl_bufq_free(&req->sendbuf); in Curl_req_soft_reset()
83 Curl_bufq_init2(&req->sendbuf, data->set.upload_buffer_size, 1, in Curl_req_soft_reset()
123 Curl_bufq_reset(&req->sendbuf); in Curl_req_hard_reset()
177 Curl_bufq_free(&req->sendbuf); in Curl_req_free()
216 (Curl_bufq_is_empty(&data->req.sendbuf) || in xfer_send()
217 Curl_bufq_len(&data->req.sendbuf) == blen)) { in xfer_send()
246 while(Curl_bufq_peek(&data->req.sendbuf, &buf, &blen)) { in req_send_buffer_flush()
252 Curl_bufq_skip(&data->req.sendbuf, nwritten); in req_send_buffer_flush()
274 Curl_bufq_reset(&data->req.sendbuf); in Curl_req_set_upload_done()
285 DEBUGASSERT(Curl_bufq_is_empty(&data->req.sendbuf)); in Curl_req_set_upload_done()
301 if(!Curl_bufq_is_empty(&data->req.sendbuf)) { in req_flush()
305 if(!Curl_bufq_is_empty(&data->req.sendbuf)) { in req_flush()
307 Curl_bufq_len(&data->req.sendbuf))); in req_flush()
326 DEBUGASSERT(Curl_bufq_is_empty(&data->req.sendbuf)); in req_flush()
371 n = Curl_bufq_write(&data->req.sendbuf, in req_send_buffer_add()
418 return !data->req.sendbuf_init || Curl_bufq_is_empty(&data->req.sendbuf); in Curl_req_sendbuf_empty()
446 !Curl_bufq_is_full(&data->req.sendbuf)) { in Curl_req_send_more()
447 ssize_t nread = Curl_bufq_sipn(&data->req.sendbuf, 0, in Curl_req_send_more()
463 Curl_bufq_reset(&data->req.sendbuf); in Curl_req_abort_sending()