diff options
author | i-ky <gl.ivanovsky@gmail.com> | 2021-09-27 08:22:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-09-27 08:28:46 +0200 |
commit | 3363eeb26298b9d30fc5ec29101e5dd205d04db9 (patch) | |
tree | 5546b8dc873a7e918d651485ed735dbce6f69d62 /docs/libcurl/opts | |
parent | f0b8d1c5f646506d5c1fbf73edfbed900aa016e4 (diff) | |
download | curl-3363eeb26298b9d30fc5ec29101e5dd205d04db9.tar.gz |
urlapi: add curl_url_strerror()
Add curl_url_strerror() to convert CURLUcode into readable string and
facilitate easier troubleshooting in programs using URL API.
Extend CURLUcode with CURLU_LAST for iteration in unit tests.
Update man pages with a mention of new function.
Update example code and tests with new functionality where it fits.
Closes #7605
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_CURLU.3 | 2 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_ERRORBUFFER.3 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_CURLU.3 b/docs/libcurl/opts/CURLOPT_CURLU.3 index 39a732cad..5f6d4af76 100644 --- a/docs/libcurl/opts/CURLOPT_CURLU.3 +++ b/docs/libcurl/opts/CURLOPT_CURLU.3 @@ -67,4 +67,4 @@ Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" .BR CURLOPT_URL "(3), " .BR curl_url "(3), " curl_url_get "(3), " curl_url_set "(3), " -.BR curl_url_dup "(3), " curl_url_cleanup "(3), " +.BR curl_url_dup "(3), " curl_url_cleanup "(3), " curl_url_strerror "(3)" diff --git a/docs/libcurl/opts/CURLOPT_ERRORBUFFER.3 b/docs/libcurl/opts/CURLOPT_ERRORBUFFER.3 index dc5109b8e..55fe53d67 100644 --- a/docs/libcurl/opts/CURLOPT_ERRORBUFFER.3 +++ b/docs/libcurl/opts/CURLOPT_ERRORBUFFER.3 @@ -89,4 +89,4 @@ Returns CURLE_OK .SH "SEE ALSO" .BR CURLOPT_DEBUGFUNCTION "(3), " CURLOPT_VERBOSE "(3), " .BR curl_easy_strerror "(3), " curl_multi_strerror "(3), " -.BR curl_share_strerror "(3) " +.BR curl_share_strerror "(3), " curl_url_strerror "(3)" |