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

connection reuse on h3 connections #14966

Closed
wants to merge 3 commits into from
Closed

Conversation

icing
Copy link
Contributor

@icing icing commented Sep 19, 2024

  • When searching for existing connections, interpret the default CURL_HTTP_VERSION_2TLS as "anything goes". This will allow us to reuse HTTP/3 connections better
  • add 'http/1.1' as allowed protocol identifier in Alt-Svc files
  • add test_02_0[345] for testing protocol selection on provided alt-svc files

refs #14890

Update:

alt-svc lookups: honor data->state.httpwant

When a transfer is set for a specific HTTP version, only lookup that protocol in the alt-svc mappings. When no specific version is requested, scan all entries as before.

- When searching for existing connections, interpret the
  default CURL_HTTP_VERSION_2TLS as "anything goes". This
  will allow us to reuse HTTP/3 connections better
- add 'http/1.1' as allowed protocol identifier in Alt-Svc
  files
- add test_02_0[345] for testing protocol selection on
  provided alt-svc files

refs curl#14890
When a transfer is set for a speficif HTTP version, only lookup
that protocol in the alt-svc mappings. When no speicific version
is requested, scan all entries as before.
@bagder bagder closed this in 433d730 Sep 20, 2024
bagder pushed a commit that referenced this pull request Sep 20, 2024
When a transfer is set for a speficif HTTP version, only lookup that
protocol in the alt-svc mappings. When no speicific version is
requested, scan all entries as before.

Closes #14966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants