Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http negotiation, room for alt-svc/https rr to navigate #16117

Closed
wants to merge 8 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Jan 28, 2025

based on #16100

Add a 'wanted' major HTTP version bitmask next to the 'allowed' bitmask in HTTP version negotiation. This will try connections as specified in 'wanted', but enabled Alt-Svc and HTTPS-RR to redirect to other major HTTP versions, if those are 'allowed'.

Changes libcurl internal default to CURL_HTTP_VERSION_NONE and removes the code in curl that sets CURL_HTTP_VERSION_2TLS if the command line does not say anything else.

based on curl#16100

Add a 'wanted' major HTTP version bitmask next to the 'allowed'
bitmask in HTTP version negotiation. This will try connections
as specified in 'wanted', but enabled Alt-Svc and HTTPS-RR to
redirect to other major HTTP versions, if those are 'allowed'.

Changes libcurl internal default to `CURL_HTTP_VERSION_NONE`
and removes the code in curl that sets  `CURL_HTTP_VERSION_2TLS`
if the command line does not say anything else.
@icing icing force-pushed the http-free-for-all branch from 20ced99 to 7369066 Compare February 20, 2025 13:03
@icing icing requested a review from bagder February 20, 2025 14:43
@bagder bagder closed this in 279a477 Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants