Searched refs:maxdownload (Results 1 – 12 of 12) sorted by relevance
61 data->req.maxdownload = to; in Curl_range()78 data->req.maxdownload = totalsize + 1; /* include last byte */ in Curl_range()82 from, data->req.maxdownload)); in Curl_range()87 from, to, data->req.maxdownload)); in Curl_range()90 data->req.maxdownload = -1; in Curl_range()
672 (k->maxdownload <= 0 && nread > 0)) { in readwrite_data()782 if((-1 != k->maxdownload) && in readwrite_data()783 (k->bytecount + nread >= k->maxdownload)) { in readwrite_data()785 excess = (size_t)(k->bytecount + nread - k->maxdownload); in readwrite_data()793 excess, k->size, k->maxdownload, k->bytecount); in readwrite_data()797 nread = (ssize_t) (k->maxdownload - k->bytecount); in readwrite_data()817 if(k->maxdownload == -1 || (curl_off_t)headlen <= k->maxdownload) in readwrite_data()824 (size_t)k->maxdownload); in readwrite_data()
483 if(data->req.maxdownload > 0) in file_do()484 expected_size = data->req.maxdownload; in file_do()
2504 if(size > data->req.maxdownload && data->req.maxdownload > 0) in ftp_state_get_resp()2505 size = data->req.size = data->req.maxdownload; in ftp_state_get_resp()2510 data->req.maxdownload); in ftp_state_get_resp()3294 if(!result && ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()3344 if(ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()3396 (data->req.maxdownload != data->req.bytecount)) { in ftp_done()3667 if(result == CURLE_OK && data->req.maxdownload >= 0) { in ftp_do_more()
3429 k->maxdownload = k->size; in Curl_http_header()3784 k->maxdownload = 0; in Curl_http_statusline()4158 k->maxdownload = k->size = -1; in Curl_http_readwrite_headers()4166 k->maxdownload = k->size; in Curl_http_readwrite_headers()4174 if(0 == k->maxdownload in Curl_http_readwrite_headers()
634 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, member
1194 data->req.maxdownload = size; in imap_state_fetch_resp()
616 newhandle->req.maxdownload = -1; in push_promise()
4134 data->req.maxdownload = -1;
761 data->req.maxdownload = -1; in wssh_statemach_act()769 data->req.maxdownload = size; in wssh_statemach_act()
1630 data->req.maxdownload = -1; in myssh_statemach_act()1690 data->req.maxdownload = size; in myssh_statemach_act()1718 data->req.maxdownload = size - data->state.resume_from; in myssh_statemach_act()1905 data->req.maxdownload = (curl_off_t) bytecount; in myssh_statemach_act()
2324 data->req.maxdownload = -1; in ssh_statemach_act()2375 data->req.maxdownload = size; in ssh_statemach_act()2403 data->req.maxdownload = attrs.filesize - data->state.resume_from; in ssh_statemach_act()2634 data->req.maxdownload = (curl_off_t)sb.st_size; in ssh_statemach_act()