aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--RELEASE-NOTES3
-rw-r--r--lib/ftp.c2
3 files changed, 8 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 284ed1b59..c7097881c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
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)
- Fixed curl-config --libs so it doesn't list unnecessary libraries (and
therefore introduce unnecessary dependencies) when it's not needed.
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 598f7e32e..b19c551e7 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -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 socks5 works
o builds fine with VC2005
+ o CURLOPT_RANGE set to NULL resets the range for FTP
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:
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)
diff --git a/lib/ftp.c b/lib/ftp.c
index 6645e8e44..4371eb683 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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;
}