- 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:
Daniel Stenberg 2007-02-16 15:37:05 +00:00
parent dca8f962e0
commit aa4435c23b
3 changed files with 8 additions and 1 deletions

View File

@ -6,6 +6,10 @@
Changelog Changelog
Daniel (16 February 2007)
- Duncan Mac-Vicar Prett and Michal Marek reported problems with resetting
CURLOPT_RANGE back to no range on an easy handle when using FTP.
Dan F (14 February 2007) Dan F (14 February 2007)
- Fixed curl-config --libs so it doesn't list unnecessary libraries (and - Fixed curl-config --libs so it doesn't list unnecessary libraries (and
therefore introduce unnecessary dependencies) when it's not needed. therefore introduce unnecessary dependencies) when it's not needed.

View File

@ -22,6 +22,7 @@ This release includes the following bugfixes:
o in testsuite, update test cookies expiration from 2007-Feb-1 to year 2035 o in testsuite, update test cookies expiration from 2007-Feb-1 to year 2035
o socks5 works o socks5 works
o builds fine with VC2005 o builds fine with VC2005
o CURLOPT_RANGE set to NULL resets the range for FTP
This release includes the following known bugs: This release includes the following known bugs:
@ -39,6 +40,6 @@ This release would not have looked like this without help, code, reports and
advice from friends like these: advice from friends like these:
Yang Tse, Manfred Schwarb, Michael Wallner, Jeff Pohlmeyer, Shmulik Regev, Yang Tse, Manfred Schwarb, Michael Wallner, Jeff Pohlmeyer, Shmulik Regev,
Rob Crittenden, Robert A. Monat Rob Crittenden, Robert A. Monat, Duncan Mac-Vicar Prett, Michal Marek
Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)

View File

@ -3285,6 +3285,8 @@ static CURLcode ftp_range(struct connectdata *conn)
from, to, data->reqdata.maxdownload)); from, to, data->reqdata.maxdownload));
ftpc->dont_check = TRUE; /* dont check for successful transfer */ ftpc->dont_check = TRUE; /* dont check for successful transfer */
} }
else
data->reqdata.maxdownload = -1;
return CURLE_OK; return CURLE_OK;
} }