Searched refs:maxdownload (Results 1 – 12 of 12) sorted by relevance
63 data->req.maxdownload = to; in Curl_range()80 data->req.maxdownload = totalsize + 1; /* include last byte */ in Curl_range()84 from, data->req.maxdownload)); in Curl_range()89 from, to, data->req.maxdownload)); in Curl_range()92 data->req.maxdownload = -1; in Curl_range()
528 (k->maxdownload <= 0 && nread > 0)) { in readwrite_data()641 if((-1 != k->maxdownload) && in readwrite_data()642 (k->bytecount + nread >= k->maxdownload)) { in readwrite_data()644 excess = (size_t)(k->bytecount + nread - k->maxdownload); in readwrite_data()652 excess, k->size, k->maxdownload, k->bytecount); in readwrite_data()656 nread = (ssize_t) (k->maxdownload - k->bytecount); in readwrite_data()685 if(k->maxdownload == -1 || (curl_off_t)headlen <= k->maxdownload) in readwrite_data()692 (size_t)k->maxdownload); in readwrite_data()
523 if(data->req.maxdownload > 0) in file_do()524 expected_size = data->req.maxdownload; in file_do()
2532 if(size > data->req.maxdownload && data->req.maxdownload > 0) in ftp_state_get_resp()2533 size = data->req.size = data->req.maxdownload; in ftp_state_get_resp()2538 data->req.maxdownload); in ftp_state_get_resp()3335 if(!result && ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()3377 if(ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()3429 (data->req.maxdownload != data->req.bytecount)) { in ftp_done()3678 if(result == CURLE_OK && data->req.maxdownload >= 0) { in ftp_do_more()
3528 k->maxdownload = k->size; in Curl_http_header()3906 k->maxdownload = 0; in Curl_http_statusline()3924 k->size = k->maxdownload = -1; in Curl_http_size()3933 k->maxdownload = k->size; in Curl_http_size()4386 if(0 == k->maxdownload in Curl_http_readwrite_headers()
635 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, member
1222 data->req.maxdownload = size; in imap_state_fetch_resp()
926 newhandle->req.maxdownload = -1; in push_promise()
3907 data->req.size = data->req.maxdownload = -1;
765 data->req.maxdownload = -1; in wssh_statemach_act()773 data->req.maxdownload = size; in wssh_statemach_act()
1628 data->req.maxdownload = -1; in myssh_statemach_act()1688 data->req.maxdownload = size; in myssh_statemach_act()1716 data->req.maxdownload = size - data->state.resume_from; in myssh_statemach_act()1903 data->req.maxdownload = (curl_off_t) bytecount; in myssh_statemach_act()
2508 data->req.maxdownload = -1; in ssh_statemach_act()2560 data->req.maxdownload = size; in ssh_statemach_act()2588 data->req.maxdownload = attrs.filesize - data->state.resume_from; in ssh_statemach_act()2819 data->req.maxdownload = (curl_off_t)sb.st_size; in ssh_statemach_act()