Home
last modified time | relevance | path

Searched refs:maxdownload (Results 1 – 12 of 12) sorted by relevance

/curl/lib/
H A Dcurl_range.c62 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()
86 from, to, data->req.maxdownload)); in Curl_range()
89 data->req.maxdownload = -1; in Curl_range()
H A Drequest.h65 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, member
H A Dfile.c539 if(data->req.maxdownload > 0) in file_do()
540 expected_size = data->req.maxdownload; in file_do()
H A Dsendf.c282 if(-1 != data->req.maxdownload) { in cw_download_write()
283 size_t wmax = get_max_body_write_len(data, data->req.maxdownload); in cw_download_write()
294 (data->req.maxdownload > data->req.bytecount)) { in cw_download_write()
296 data->req.maxdownload - data->req.bytecount); in cw_download_write()
334 excess_len, data->req.size, data->req.maxdownload, in cw_download_write()
H A Dftp.c2492 if(size > data->req.maxdownload && data->req.maxdownload > 0) in ftp_state_get_resp()
2493 size = data->req.size = data->req.maxdownload; in ftp_state_get_resp()
2497 infof(data, "Maxdownload = %" FMT_OFF_T, data->req.maxdownload); in ftp_state_get_resp()
3290 if(!result && ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()
3332 if(ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()
3376 (data->req.maxdownload != data->req.bytecount)) { in ftp_done()
3634 if(result == CURLE_OK && data->req.maxdownload >= 0) { in ftp_do_more()
H A Drequest.c130 req->maxdownload = -1; in Curl_req_hard_reset()
H A Dhttp.c2860 k->maxdownload = k->size; in Curl_http_header()
3262 k->maxdownload = 0; in Curl_http_statusline()
3280 k->size = k->maxdownload = -1; in Curl_http_size()
3292 k->maxdownload = k->size; in Curl_http_size()
3640 if(0 == k->maxdownload in http_on_response()
H A Dimap.c1218 data->req.maxdownload = size; in imap_state_fetch_resp()
H A Dhttp2.c1018 newhandle->req.maxdownload = -1; in push_promise()
/curl/lib/vssh/
H A Dwolfssh.c761 data->req.maxdownload = -1; in wssh_statemach_act()
769 data->req.maxdownload = size; in wssh_statemach_act()
H A Dlibssh.c1619 data->req.maxdownload = -1; in myssh_statemach_act()
1680 data->req.maxdownload = size; in myssh_statemach_act()
1706 data->req.maxdownload = size - data->state.resume_from; in myssh_statemach_act()
1893 data->req.maxdownload = (curl_off_t) bytecount; in myssh_statemach_act()
H A Dlibssh2.c1517 data->req.maxdownload = -1; in sftp_download_stat()
1569 data->req.maxdownload = size; in sftp_download_stat()
1596 data->req.maxdownload = attrs.filesize - data->state.resume_from; in sftp_download_stat()
2782 data->req.maxdownload = (curl_off_t)sb.st_size; in ssh_statemachine()

Completed in 77 milliseconds