]> granicus.if.org Git - curl/commit
url: Improve CURLOPT_PROXY_CAPATH error handling
authorJay Satiro <raysatiro@yahoo.com>
Wed, 22 Feb 2017 03:21:17 +0000 (22:21 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 22 Feb 2017 03:24:40 +0000 (22:24 -0500)
commitb259646ea10fc13d6cd97608824d0038f9720996
tree8b69c53b5c396dc7b605bf87211e759d348b6a50
parent0e8d3e838eafa75fe1373db757a2940cb33a2ba8
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
docs/libcurl/opts/CURLOPT_CAPATH.3
docs/libcurl/opts/CURLOPT_PROXY_CAPATH.3
lib/url.c
src/tool_operate.c