From 96450a1a33ec22cb54b20dbac08ebdf14648582f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 25 Oct 2020 23:08:54 +0100 Subject: 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 --- docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3 | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.3') 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 -#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 -- cgit v1.2.1