Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
opts: the CURLOPT_SSL_ENABLE_*PN options are enabled by default
  • Loading branch information
bagder committed Jun 21, 2014
1 parent 0ab9e0c commit 7d618c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.3
Expand Up @@ -28,12 +28,11 @@ CURLOPT_SSL_ENABLE_ALPN \- enable ALPN

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_ALPN, long npn);
.SH DESCRIPTION
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.
Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. 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.
.SH DEFAULT
0
1, enabled
.SH PROTOCOLS
HTTP
.SH EXAMPLE
Expand Down
9 changes: 4 additions & 5 deletions docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.3
Expand Up @@ -28,12 +28,11 @@ CURLOPT_SSL_ENABLE_NPN \- enable NPN

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_NPN, long npn);
.SH DESCRIPTION
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.
Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. 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.
.SH DEFAULT
0
1, enabled
.SH PROTOCOLS
HTTP
.SH EXAMPLE
Expand Down

0 comments on commit 7d618c4

Please sign in to comment.