mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:33:33 +03:00
ftp: a 550 response to SIZE returns CURLE_REMOTE_FILE_NOT_FOUND
This is primarily interesting for cases where CURLOPT_NOBODY is set as previously curl would not return an error for this case. MDTM getting 550 now also returns this error (it returned CURLE_FTP_COULDNT_RETR_FILE before) in order to unify return codes for missing files across protocols and specific FTP commands. libcurl already returns error on a 550 as a MDTM response (when CURLOPT_FILETIME is set). If CURLOPT_NOBODY is not set, an error would happen subsequently anyway since the RETR command would fail. Add test 1913 and 1914 to verify. Updated several tests accordingly due to the updated SIZE behavior. Reported-by: Tomas Berger Fixes #5953 Closes #5957
This commit is contained in:
parent
a167949848
commit
7ea2e1d0c5
16 changed files with 155 additions and 8 deletions
|
|
@ -207,7 +207,7 @@ test1700 test1701 test1702 \
|
|||
test1800 test1801 \
|
||||
\
|
||||
test1904 test1905 test1906 test1907 \
|
||||
test1908 test1909 test1910 test1911 test1912 \
|
||||
test1908 test1909 test1910 test1911 test1912 test1913 test1914 \
|
||||
\
|
||||
test2000 test2001 test2002 test2003 test2004 test2005 test2006 test2007 \
|
||||
test2008 test2009 test2010 test2011 test2012 test2013 test2014 test2015 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue