mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
- Duncan Mac-Vicar Prett and Michal Marek reported problems with resetting
CURLOPT_RANGE back to no range on an easy handle when using FTP.
This commit is contained in:
parent
dca8f962e0
commit
aa4435c23b
3 changed files with 8 additions and 1 deletions
|
|
@ -3285,6 +3285,8 @@ static CURLcode ftp_range(struct connectdata *conn)
|
|||
from, to, data->reqdata.maxdownload));
|
||||
ftpc->dont_check = TRUE; /* dont check for successful transfer */
|
||||
}
|
||||
else
|
||||
data->reqdata.maxdownload = -1;
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue