Skip to content

connection reuse on h3 connections - #14966

Closed
icing wants to merge 3 commits into
curl:masterfrom
icing:h3-reuse-fix
Closed

connection reuse on h3 connections#14966
icing wants to merge 3 commits into
curl:masterfrom
icing:h3-reuse-fix

Conversation

@icing

@icing icing commented Sep 19, 2024

Copy link
Copy Markdown
Contributor
  • 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
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
- 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

Fixes curl#14890
Reported-by: MacKenzie
Closes curl#14966
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
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 curl#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