mirror of
https://github.com/curl/curl.git
synced 2026-04-25 05:02:12 +03:00
When the Alt-Svc points to the same host and port, add the destination ALPN to the `wanted` versions and set it also as the `preferred` version in negotiations. This allows Alt-Svc for h3 to point to h2 and have it tried first. Also, this allows Alt-Svc to say http/1.1 is preferred and changes the ALPN protocol ordering for the TLS handshake. Add tests in various combination to verify this works. Reported-by: yushicheng7788 on github Fixes #19740 Closes #19874 |
||
|---|---|---|
| .. | ||
| mod_curltest | ||
| __init__.py | ||
| caddy.py | ||
| certs.py | ||
| client.py | ||
| curl.py | ||
| dante.py | ||
| env.py | ||
| httpd.py | ||
| nghttpx.py | ||
| ports.py | ||
| vsftpd.py | ||
| ws_echo_server.py | ||