Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient] Allow using HTTP/3 with the CurlHttpClient #59370

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

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

MatTheCat
Copy link
Contributor

@MatTheCat MatTheCat commented Jan 6, 2025

Q A
Branch? 7.3
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #58331
License MIT

Now that PHP 8.4 is out, one can configure curl to use CURL_HTTP_VERSION_3 (php/php-src#15350).

Since curl HTTP/3 support is still experimental the http_version will have to be set to 3 to use this functionality, mimicking the CLI --http3 flag (meaning curl can fallback to HTTP/2 or HTTP/1.1).

@nicolas-grekas
Copy link
Member

Thank you @MatTheCat.

@nicolas-grekas nicolas-grekas merged commit fa602c7 into symfony:7.3 Jan 7, 2025
9 of 11 checks passed
@MatTheCat MatTheCat deleted the ticket_58331 branch January 7, 2025 10:53
@fabpot fabpot mentioned this pull request May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[HttpClient] Add support for HTTP/3
3 participants