]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
libcurl-errors.3: sync with current public headers
authorDaniel Stenberg <daniel@haxx.se>
Tue, 28 Nov 2023 16:07:27 +0000 (17:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 28 Nov 2023 21:55:33 +0000 (22:55 +0100)
Closes #12424

docs/libcurl/libcurl-errors.3

index f83bf6a2faca43e1db4e44189655682b61efacca..03f18e6b538210d32d712f282b4797f5f6b52953 100644 (file)
@@ -288,9 +288,6 @@ the specific problem.
 SSL Client Certificate required.
 .IP "CURLE_UNRECOVERABLE_POLL (99)"
 An internal call to poll() or select() returned error that is not recoverable.
-.IP "CURLE_OBSOLETE*"
-These error codes are never returned. They were used in an old libcurl version
-and are currently unused.
 .SH "CURLMcode"
 This is the generic return code used by functions in the libcurl multi
 interface. Also consider \fIcurl_multi_strerror(3)\fP.
@@ -300,9 +297,6 @@ This is not really an error. It means you should call
 between. Before version 7.20.0 (released on February 9 2010) this could be returned by
 \fIcurl_multi_perform(3)\fP, but in later versions this return code is never
 used.
-.IP "CURLM_CALL_MULTI_SOCKET (-1)"
-An alias for \fICURLM_CALL_MULTI_PERFORM\fP. Never returned by modern libcurl
-versions.
 .IP "CURLM_OK (0)"
 Things are fine.
 .IP "CURLM_BAD_HANDLE (1)"
@@ -414,9 +408,13 @@ The scheme part of the URL contained bad or invalid characters.
 The URL contained an invalid number of slashes.
 .IP "CURLUE_BAD_USER (29)"
 The user part of the URL contained bad or invalid characters.
+.IP "CURLUE_LACKS_IDN (30)"
+libcurl lacks IDN support.
 .SH "CURLHcode"
 The header interface returns a \fICURLHcode\fP to indicate when an error has
 occurred.
+.IP "CURLHE_OK (0)"
+All fine. Proceed as usual.
 .IP "CURLHE_BADINDEX (1)"
 There is no header with the requested index.
 .IP "CURLHE_MISSING (2)"