mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:33:33 +03:00
first draft
formating Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com> Update lib/url.c Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com> Update docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md Co-authored-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
parent
0a96b878f7
commit
01603f988e
6 changed files with 106 additions and 4 deletions
|
|
@ -26,6 +26,7 @@ CURLOPT_ALTSVC_CTRL - control alt-svc behavior
|
|||
#define CURLALTSVC_H1 (1L<<3)
|
||||
#define CURLALTSVC_H2 (1L<<4)
|
||||
#define CURLALTSVC_H3 (1L<<5)
|
||||
#define CURLALTSVC_NO_RETRY (1L<<6)
|
||||
|
||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_ALTSVC_CTRL, long bitmask);
|
||||
~~~
|
||||
|
|
@ -51,6 +52,11 @@ versions.
|
|||
|
||||
Setting any bit enables the alt-svc engine.
|
||||
|
||||
If the connection fails when trying to connect to an alternative host,
|
||||
the hostname from the URL is attempted instead.
|
||||
|
||||
Failed connection problems that trigger this fallback include: ...
|
||||
|
||||
## CURLALTSVC_READONLYFILE
|
||||
|
||||
Do not write the alt-svc cache back to the file specified with
|
||||
|
|
|
|||
|
|
@ -199,6 +199,7 @@ CURLALTSVC_H1 7.64.1
|
|||
CURLALTSVC_H2 7.64.1
|
||||
CURLALTSVC_H3 7.64.1
|
||||
CURLALTSVC_READONLYFILE 7.64.1
|
||||
CURLALTSVC_NO_RETRY 8.14.0
|
||||
CURLAUTH_ANY 7.10.6
|
||||
CURLAUTH_ANYSAFE 7.10.6
|
||||
CURLAUTH_AWS_SIGV4 7.75.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue