Lines Matching refs:hds_len
187 size_t hds_len, size_t *pnwritten) in xfer_send() argument
193 DEBUGASSERT(hds_len <= blen); in xfer_send()
198 size_t body_len = blen - hds_len; in xfer_send()
203 blen = hds_len + body_small; in xfer_send()
210 size_t body_bytes = blen - hds_len; in xfer_send()
212 blen = hds_len + (size_t)data->set.max_send_speed; in xfer_send()
226 if(hds_len) in xfer_send()
228 CURLMIN(hds_len, *pnwritten)); in xfer_send()
229 if(*pnwritten > hds_len) { in xfer_send()
230 size_t body_len = *pnwritten - hds_len; in xfer_send()
231 Curl_debug(data, CURLINFO_DATA_OUT, (char *)buf + hds_len, body_len); in xfer_send()
247 size_t nwritten, hds_len = CURLMIN(data->req.sendbuf_hds_len, blen); in req_send_buffer_flush() local
248 result = xfer_send(data, (const char *)buf, blen, hds_len, &nwritten); in req_send_buffer_flush()
253 if(hds_len) { in req_send_buffer_flush()
254 data->req.sendbuf_hds_len -= CURLMIN(hds_len, nwritten); in req_send_buffer_flush()
367 size_t hds_len) in req_send_buffer_add() argument
377 data->req.sendbuf_hds_len += hds_len; in req_send_buffer_add()