Skip to content

Conversation

@Ayesh
Copy link
Contributor

@Ayesh Ayesh commented Apr 3, 2025

PHP 8.4 should be able to support HTTP/3 if the Curl extension is compiled with an OpenSSL branch with HTTP/3 support.

GitHub, GitLab, and packagist.org do not seem to support HTTP/3 yet, but we can still safely enable HTTP/3 if it's available to future-proof it.

This also updates the diagnose command to show the HTTP versions supported.

image

@Seldaek Seldaek added this to the 2.9 milestone Apr 4, 2025
@Seldaek
Copy link
Member

Seldaek commented Apr 4, 2025

Thanks, looks good

@Ayesh
Copy link
Contributor Author

Ayesh commented Apr 8, 2025

@danshumaker this will only add support for HTTP/3, but not change if HTTP/3 is not supported by Curl.

Right now, none of the mainstream distros ship a ext-curl build with HTTP/3 enabled. So about that SO question, this PR won't help, unfortunately.

@danshumaker
Copy link

Thank you @Ayesh .

@Seldaek Seldaek merged commit 184226b into composer:main May 13, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants