aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-02-21 22:21:17 -0500
committerng0 <ng0@infotropique.org>2017-08-22 15:19:40 +0000
commit6752168a54db6e337f3663b70c865fd62e8b8fbc (patch)
treebd5aee3c534030adf58896d9bdaea815622f0bd4 /docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
parent5b13817cf4df9c7e5a744b2ced3bf6626badf03d (diff)
downloadgnurl-6752168a54db6e337f3663b70c865fd62e8b8fbc.tar.gz
gnurl-6752168a54db6e337f3663b70c865fd62e8b8fbc.tar.bz2
gnurl-6752168a54db6e337f3663b70c865fd62e8b8fbc.zip
url: Improve CURLOPT_PROXY_CAPATH error handling
- Change CURLOPT_PROXY_CAPATH to return CURLE_NOT_BUILT_IN if the option is not supported, which is the same as what we already do for CURLOPT_CAPATH. - Change the curl tool to handle CURLOPT_PROXY_CAPATH error CURLE_NOT_BUILT_IN as a warning instead of as an error, which is the same as what we already do for CURLOPT_CAPATH. - Fix CAPATH docs to show that CURLE_NOT_BUILT_IN is returned when the respective CAPATH option is not supported by the SSL library. Ref: https://github.com/curl/curl/pull/1257
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_PROXY_CAPATH.39
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3 b/docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
index 372cc9503..dc317f03b 100644
--- a/docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
+++ b/docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
@@ -48,8 +48,13 @@ Added in 7.52.0
This option is supported by the OpenSSL, GnuTLS and PolarSSL backends. The NSS
backend provides the option only for backward compatibility.
.SH RETURN VALUE
-Returns CURLE_OK if TLS enabled, and CURLE_UNKNOWN_OPTION if not, or
-CURLE_OUT_OF_MEMORY if there was insufficient heap space.
+CURLE_OK if supported; or an error such as:
+
+CURLE_NOT_BUILT_IN - Not supported by the SSL backend
+
+CURLE_UNKNOWN_OPTION
+
+CURLE_OUT_OF_MEMORY
.SH "SEE ALSO"
.BR CURLOPT_CAINFO "(3), "
.BR CURLOPT_STDERR "(3), " CURLOPT_DEBUGFUNCTION "(3), "