From af2d679e1414369f23a2d37a113634b0ac7f38b0 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 22 Aug 2016 15:37:03 -0400 Subject: 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 --- docs/libcurl/libcurl-errors.3 | 5 ++--- docs/libcurl/symbols-in-versions | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/libcurl') diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3 index 0a21a7589..1b6e34f51 100644 --- a/docs/libcurl/libcurl-errors.3 +++ b/docs/libcurl/libcurl-errors.3 @@ -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. diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions index 5aadef2a6..e61319546 100644 --- a/docs/libcurl/symbols-in-versions +++ b/docs/libcurl/symbols-in-versions @@ -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 -- cgit v1.2.3