mirror of
https://github.com/curl/curl.git
synced 2026-08-02 11:20:29 +03:00
Don't tear down the ftp connection if the maximum filesize was exceeded
and added tests 290 and 291 to check.
This commit is contained in:
parent
fbb1e49215
commit
ffb11ad5c6
6 changed files with 104 additions and 1 deletions
|
|
@ -3020,6 +3020,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode status, bool premature
|
|||
case CURLE_FTP_COULDNT_RETR_FILE:
|
||||
case CURLE_FTP_COULDNT_STOR_FILE:
|
||||
case CURLE_FTP_ACCESS_DENIED:
|
||||
case CURLE_FILESIZE_EXCEEDED:
|
||||
/* the connection stays alive fine even though this happened */
|
||||
/* fall-through */
|
||||
case CURLE_OK: /* doesn't affect the control connection's status */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue