mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
David McCreedy fixed libcurl to no longer ignore AUTH failures and now it
reacts properly according to the CURLOPT_FTP_SSL setting.
This commit is contained in:
parent
18081e30e1
commit
6421d69bff
3
CHANGES
3
CHANGES
@ -7,6 +7,9 @@
|
|||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
Daniel (20 March 2006)
|
Daniel (20 March 2006)
|
||||||
|
- David McCreedy fixed libcurl to no longer ignore AUTH failures and now it
|
||||||
|
reacts properly according to the CURLOPT_FTP_SSL setting.
|
||||||
|
|
||||||
- Dan Fandrich fixed two TFTP problems: Fixed a bug whereby a received file
|
- Dan Fandrich fixed two TFTP problems: Fixed a bug whereby a received file
|
||||||
whose length was a multiple of 512 bytes could have random garbage
|
whose length was a multiple of 512 bytes could have random garbage
|
||||||
appended. Also, stop processing TFTP packets which are too short to be
|
appended. Also, stop processing TFTP packets which are too short to be
|
||||||
|
@ -15,6 +15,7 @@ This release includes the following changes:
|
|||||||
|
|
||||||
This release includes the following bugfixes:
|
This release includes the following bugfixes:
|
||||||
|
|
||||||
|
o treat FTP AUTH failures properly
|
||||||
o TFTP transfers could trash data
|
o TFTP transfers could trash data
|
||||||
o -d + -G combo crash
|
o -d + -G combo crash
|
||||||
|
|
||||||
@ -25,6 +26,6 @@ Other curl-related news since the previous public release:
|
|||||||
This release would not have looked like this without help, code, reports and
|
This release would not have looked like this without help, code, reports and
|
||||||
advice from friends like these:
|
advice from friends like these:
|
||||||
|
|
||||||
Dan Fandrich, Ilja van Sprundel
|
Dan Fandrich, Ilja van Sprundel, David McCreedy
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
@ -2430,8 +2430,14 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
|
|||||||
result = Curl_nbftpsendf(conn, "AUTH %s", ftpauth[ftp->count1]);
|
result = Curl_nbftpsendf(conn, "AUTH %s", ftpauth[ftp->count1]);
|
||||||
/* remain in this same state */
|
/* remain in this same state */
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if(data->set.ftp_ssl > CURLFTPSSL_TRY)
|
||||||
|
/* we failed and CURLFTPSSL_CONTROL or CURLFTPSSL_ALL is set */
|
||||||
|
result = CURLE_FTP_SSL_FAILED;
|
||||||
else
|
else
|
||||||
|
/* ignore the failure and continue */
|
||||||
result = ftp_state_user(conn);
|
result = ftp_state_user(conn);
|
||||||
|
}
|
||||||
|
|
||||||
if(result)
|
if(result)
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user