From 8957e6e4ed4d0841638511e0decf31abf006c6d2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Feb 2020 15:42:25 +0100 Subject: CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wording Assisted-by: Jay Satiro Reported-by: Craig Andrews Fixes #4909 Closes #4910 --- docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/libcurl') diff --git a/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 b/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 index fd082df5e..b77ef41ca 100644 --- a/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 +++ b/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, , 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 -- cgit v1.2.3