diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-10-25 23:08:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-10-25 23:08:54 +0100 |
commit | 96450a1a33ec22cb54b20dbac08ebdf14648582f (patch) | |
tree | c3beaaf86442d1934d74a7902e53d29edb4a9a48 /docs/libcurl | |
parent | e2bcdf557b16962af51a34ce493c4375e24895a7 (diff) | |
download | curl-96450a1a33ec22cb54b20dbac08ebdf14648582f.tar.gz |
alt-svc: enable by default
Remove CURLALTSVC_IMMEDIATELY, which was never implemented/supported.
alt-svc support in curl is no longer considered experimental
Closes #5868
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/opts/CURLOPT_ALTSVC.3 | 7 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 | 10 | ||||
-rw-r--r-- | docs/libcurl/symbols-in-versions | 1 |
3 files changed, 1 insertions, 17 deletions
diff --git a/docs/libcurl/opts/CURLOPT_ALTSVC.3 b/docs/libcurl/opts/CURLOPT_ALTSVC.3 index 8c7ab60a6..0e47a4011 100644 --- a/docs/libcurl/opts/CURLOPT_ALTSVC.3 +++ b/docs/libcurl/opts/CURLOPT_ALTSVC.3 @@ -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 @@ -29,11 +29,6 @@ CURLOPT_ALTSVC \- set alt-svc cache file name CURLcode curl_easy_setopt(CURL *handle, CURLOPT_ALTSVC, char *filename); .fi -.SH EXPERIMENTAL -Warning: this feature is early code and is marked as experimental. It can only -be enabled by explicitly telling configure with \fB--enable-alt-svc\fP. You are -advised to not ship this in production before the experimental label is -removed. .SH DESCRIPTION Pass in a pointer to a \fIfilename\fP to instruct libcurl to use that file as the Alt-Svc cache to read existing cache contents from and possibly also write diff --git a/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 b/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 index b77ef41ca..86074bc99 100644 --- a/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 +++ b/docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 @@ -27,7 +27,6 @@ CURLOPT_ALTSVC_CTRL \- control alt-svc behavior .nf #include <curl/curl.h> -#define CURLALTSVC_IMMEDIATELY (1<<0) #define CURLALTSVC_READONLYFILE (1<<2) #define CURLALTSVC_H1 (1<<3) #define CURLALTSVC_H2 (1<<4) @@ -35,11 +34,6 @@ CURLOPT_ALTSVC_CTRL \- control alt-svc behavior CURLcode curl_easy_setopt(CURL *handle, CURLOPT_ALTSVC_CTRL, long bitmask); .fi -.SH EXPERIMENTAL -Warning: this feature is early code and is marked as experimental. It can only -be enabled by explicitly telling configure with \fB--enable-alt-svc\fP. You are -advised to not ship this in production before the experimental label is -removed. .SH DESCRIPTION Populate the long \fIbitmask\fP with the correct set of features to instruct libcurl how to handle Alt-Svc for the transfers using this handle. @@ -50,10 +44,6 @@ origin is properly hosted over HTTPS. These requirements are there to make sure both the source and the destination are legitimate. Setting any bit will enable the alt-svc engine. -.IP "CURLALTSVC_IMMEDIATELY" -If an Alt-Svc: header is received, this instructs libcurl to switch to one of -those alternatives asap rather than to save it and use for the next -request. (Not currently supported). .IP "CURLALTSVC_READONLYFILE" Do not write the alt-svc cache back to the file specified with \fICURLOPT_ALTSVC(3)\fP even if it gets updated. By default a file specified diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions index 74b955093..1b37d13d1 100644 --- a/docs/libcurl/symbols-in-versions +++ b/docs/libcurl/symbols-in-versions @@ -15,7 +15,6 @@ CURLALTSVC_H1 7.64.1 CURLALTSVC_H2 7.64.1 CURLALTSVC_H3 7.64.1 -CURLALTSVC_IMMEDIATELY 7.64.1 CURLALTSVC_READONLYFILE 7.64.1 CURLAUTH_ANY 7.10.6 CURLAUTH_ANYSAFE 7.10.6 |