Home
last modified time | relevance | path

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

/external/curl/lib/
Dfile.c158 data->req.maxdownload = -from; in file_range()
166 data->req.maxdownload = totalsize+1; /* include last byte */ in file_range()
170 from, data->req.maxdownload)); in file_range()
175 from, to, data->req.maxdownload)); in file_range()
178 data->req.maxdownload = -1; in file_range()
531 if(data->req.maxdownload > 0) in file_do()
532 expected_size = data->req.maxdownload; in file_do()
Dtransfer.c485 (k->maxdownload <= 0 && nread > 0)) { in readwrite_data()
660 if((-1 != k->maxdownload) && in readwrite_data()
661 (k->bytecount + nread >= k->maxdownload)) { in readwrite_data()
663 excess = (size_t)(k->bytecount + nread - k->maxdownload); in readwrite_data()
674 k->size, k->maxdownload, k->bytecount, nread); in readwrite_data()
684 excess, k->size, k->maxdownload, k->bytecount); in readwrite_data()
688 nread = (ssize_t) (k->maxdownload - k->bytecount); in readwrite_data()
707 if(k->maxdownload == -1 || (curl_off_t)k->hbuflen <= k->maxdownload) in readwrite_data()
714 (size_t)k->maxdownload); in readwrite_data()
Dftp.c2542 if(size > data->req.maxdownload && data->req.maxdownload > 0) in ftp_state_get_resp()
2543 size = data->req.size = data->req.maxdownload; in ftp_state_get_resp()
2548 data->req.maxdownload); in ftp_state_get_resp()
3329 if(!result && ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()
3381 if(ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()
3424 (data->req.maxdownload != *ftp->bytecountp)) { in ftp_done()
3596 data->req.maxdownload = -from; in ftp_range()
3603 data->req.maxdownload = (to-from)+1; /* include last byte */ in ftp_range()
3607 from, data->req.maxdownload)); in ftp_range()
3612 from, to, data->req.maxdownload)); in ftp_range()
[all …]
Dhttp.c3206 k->maxdownload = k->size = -1; in Curl_http_readwrite_headers()
3214 k->maxdownload = k->size; in Curl_http_readwrite_headers()
3219 if(0 == k->maxdownload) in Curl_http_readwrite_headers()
3408 k->maxdownload=0; in Curl_http_readwrite_headers()
3438 k->maxdownload = k->size; in Curl_http_readwrite_headers()
Dssh.c2117 data->req.maxdownload = -1; in ssh_statemach_act()
2161 data->req.maxdownload = size; in ssh_statemach_act()
2190 data->req.maxdownload = attrs.filesize - data->state.resume_from; in ssh_statemach_act()
2402 data->req.maxdownload = (curl_off_t)sb.st_size; in ssh_statemach_act()
Durldata.h615 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, member
Dimap.c1170 data->req.maxdownload = size; in imap_state_fetch_resp()
Durl.c4314 data->req.maxdownload = -1; in setup_connection_internals()