]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wording
authorDaniel Stenberg <daniel@haxx.se>
Tue, 11 Feb 2020 14:42:25 +0000 (15:42 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Feb 2020 21:37:02 +0000 (22:37 +0100)
Assisted-by: Jay Satiro
Reported-by: Craig Andrews
Fixes #4909
Closes #4910

docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3

index fd082df5ea76cddf58fcae530201068d1c627b5f..b77ef41caad1b23cba32838ecf1a2f123044816a 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -69,7 +69,10 @@ Accept alternative services offered over HTTP/3. This will only be used if
 libcurl was also built to actually support HTTP/3, otherwise this bit will be
 ignored.
 .SH DEFAULT
-0. No Alt-Svc treatment.
+Alt-Svc handling is disabled by default. If \fICURLOPT_ALTSVC(3)\fP is set,
+\fICURLOPT_ALTSVC_CTRL(3)\fP has a default value corresponding to
+CURLALTSVC_H1 | CURLALTSVC_H2 | CURLALTSVC_H3 - the HTTP/2 and HTTP/3 bits are
+only set if libcurl was built with support for those versions.
 .SH PROTOCOLS
 HTTPS
 .SH EXAMPLE