curl.h: mark two error codes as obsolete

Not used by libcurl since many years

Closes #15538
This commit is contained in:
Daniel Stenberg 2024-11-10 16:11:02 +01:00
parent a826886509
commit bc34ebc87b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 16 additions and 15 deletions

View file

@ -151,9 +151,6 @@ curl_easy_strerror(CURLcode error)
case CURLE_RANGE_ERROR:
return "Requested range was not delivered by the server";
case CURLE_HTTP_POST_ERROR:
return "Internal problem setting up the POST";
case CURLE_SSL_CONNECT_ERROR:
return "SSL connect error";
@ -169,9 +166,6 @@ curl_easy_strerror(CURLcode error)
case CURLE_LDAP_SEARCH_FAILED:
return "LDAP: search failed";
case CURLE_FUNCTION_NOT_FOUND:
return "A required function in the library was not found";
case CURLE_ABORTED_BY_CALLBACK:
return "Operation was aborted by an application callback";
@ -330,7 +324,9 @@ curl_easy_strerror(CURLcode error)
case CURLE_OBSOLETE24:
case CURLE_OBSOLETE29:
case CURLE_OBSOLETE32:
case CURLE_OBSOLETE34:
case CURLE_OBSOLETE40:
case CURLE_OBSOLETE41:
case CURLE_OBSOLETE44:
case CURLE_OBSOLETE46:
case CURLE_OBSOLETE50: