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:
User 2025-04-23 13:13:10 +03:00 committed by nevakrien
parent 0a96b878f7
commit 01603f988e
6 changed files with 106 additions and 4 deletions

View file

@ -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

View file

@ -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