mirror of
https://github.com/curl/curl.git
synced 2026-08-26 16:03:33 +03:00
errors: new alias CURLE_WEIRD_SERVER_REPLY (8)
Since we're using CURLE_FTP_WEIRD_SERVER_REPLY in imap, pop3 and smtp as more of a generic "failed to parse" introduce an alias without FTP in the name. Closes https://github.com/curl/curl/pull/975
This commit is contained in:
parent
add8ee7d57
commit
af2d679e14
15 changed files with 26 additions and 21 deletions
|
|
@ -2254,7 +2254,7 @@ Couldn't resolve host. The given remote host was not resolved.
|
|||
.IP 7
|
||||
Failed to connect to host.
|
||||
.IP 8
|
||||
FTP weird server reply. The server sent data curl couldn't parse.
|
||||
Weird server reply. The server sent data curl couldn't parse.
|
||||
.IP 9
|
||||
FTP access denied. The server denied login or denied access to the particular
|
||||
resource or directory you wanted to reach. Most often you tried to change to a
|
||||
|
|
|
|||
|
|
@ -60,9 +60,8 @@ Couldn't resolve host. The given remote host was not resolved.
|
|||
.IP "CURLE_COULDNT_CONNECT (7)"
|
||||
Failed to connect() to host or proxy.
|
||||
.IP "CURLE_FTP_WEIRD_SERVER_REPLY (8)"
|
||||
After connecting to a FTP server, libcurl expects to get a certain reply
|
||||
back. This error code implies that it got a strange or bad reply. The given
|
||||
remote server is probably not an OK FTP server.
|
||||
The server sent data libcurl couldn't parse. This error code is used for more
|
||||
than just FTP and is aliased as \fICURLE_WEIRD_SERVER_REPLY\fP since 7.51.0.
|
||||
.IP "CURLE_REMOTE_ACCESS_DENIED (9)"
|
||||
We were denied access to the resource given in the URL. For FTP, this occurs
|
||||
while trying to change to the remote directory.
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ CURLE_UPLOAD_FAILED 7.16.3
|
|||
CURLE_URL_MALFORMAT 7.1
|
||||
CURLE_URL_MALFORMAT_USER 7.1 7.17.0
|
||||
CURLE_USE_SSL_FAILED 7.17.0
|
||||
CURLE_WEIRD_SERVER_REPLY 7.51.0
|
||||
CURLE_WRITE_ERROR 7.1
|
||||
CURLFILETYPE_DEVICE_BLOCK 7.21.0
|
||||
CURLFILETYPE_DEVICE_CHAR 7.21.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue