Skip to content

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