aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-06-21 20:03:35 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-06-21 20:03:35 +0200
commit7d618c477fcf147296462266456a43a02a91c06e (patch)
tree7f0a6d49ac7cfe8830fee249cda34cec4e362ba1 /docs/libcurl
parent0ab9e0c9d946f656f47acec5191319db8c37610c (diff)
opts: the CURLOPT_SSL_ENABLE_*PN options are enabled by default
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.39
-rw-r--r--docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.39
2 files changed, 8 insertions, 10 deletions
diff --git a/docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.3 b/docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.3
index 687b9bb79..6716f721c 100644
--- a/docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.3
+++ b/docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.3
@@ -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
diff --git a/docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.3 b/docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.3
index a4fb4fb12..5db9b510b 100644
--- a/docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.3
+++ b/docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.3
@@ -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