opts: the CURLOPT_SSL_ENABLE_*PN options are enabled by default
This commit is contained in:
@@ -28,12 +28,11 @@ CURLOPT_SSL_ENABLE_ALPN \- enable ALPN
|
|||||||
|
|
||||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_ALPN, long npn);
|
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_ALPN, long npn);
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. By
|
Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. This
|
||||||
default, libcurl assumes a value of 1. This option enables/disables ALPN in
|
option enables/disables ALPN in the SSL handshake (if the SSL backend libcurl
|
||||||
the SSL handshake (if the SSL backend libcurl is built to use supports it),
|
is built to use supports it), which can be used to negotiate http2.
|
||||||
which can be used to negotiate http2.
|
|
||||||
.SH DEFAULT
|
.SH DEFAULT
|
||||||
0
|
1, enabled
|
||||||
.SH PROTOCOLS
|
.SH PROTOCOLS
|
||||||
HTTP
|
HTTP
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
|
|||||||
@@ -28,12 +28,11 @@ CURLOPT_SSL_ENABLE_NPN \- enable NPN
|
|||||||
|
|
||||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_NPN, long npn);
|
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_NPN, long npn);
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. By
|
Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. This
|
||||||
default, libcurl assumes a value of 1. This option enables/disables NPN in the
|
option enables/disables NPN in the SSL handshake (if the SSL backend libcurl
|
||||||
SSL handshake (if the SSL backend libcurl is built to use supports it), which
|
is built to use supports it), which can be used to negotiate http2.
|
||||||
can be used to negotiate http2.
|
|
||||||
.SH DEFAULT
|
.SH DEFAULT
|
||||||
0
|
1, enabled
|
||||||
.SH PROTOCOLS
|
.SH PROTOCOLS
|
||||||
HTTP
|
HTTP
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
|
|||||||
Reference in New Issue
Block a user