From: Daniel Stenberg Date: Tue, 11 Feb 2014 06:44:27 +0000 (+0100) Subject: curl_easy_setopt.3: add CURLOPT_SSL_ENABLE_ALPN/NPN X-Git-Tag: curl-7_36_0~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33224f9bcd443229e632ed0cd7587211ee6a2aa0;p=thirdparty%2Fcurl.git curl_easy_setopt.3: add CURLOPT_SSL_ENABLE_ALPN/NPN --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 9b9e62e3c7..bb53a42329 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -2451,6 +2451,20 @@ load your private key. (This option was known as CURLOPT_SSLKEYPASSWD up to 7.16.4 and CURLOPT_SSLCERTPASSWD up to 7.9.2) +.IP CURLOPT_SSL_ENABLE_ALPN +Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. By +default, libcurl assumes a value of 1. This option enables/disables ALPN in +the SSL handshake (if the SSL backend libcurl is built to use supports it), +which can be used to negotiate http2. + +(Added in 7.36.0) +.IP CURLOPT_SSL_ENABLE_NPN +Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. By +default, libcurl assumes a value of 1. This option enables/disables NPN in the +SSL handshake (if the SSL backend libcurl is built to use supports it), which +can be used to negotiate http2. + +(Added in 7.36.0) .IP CURLOPT_SSLENGINE Pass a pointer to a zero terminated string as parameter. It will be used as the identifier for the crypto engine you want to use for your private