Commit fa602c7
committed
feature symfony#59370 [HttpClient] Allow using HTTP/3 with the
This PR was merged into the 7.3 branch.
Discussion
----------
[HttpClient] Allow using HTTP/3 with the `CurlHttpClient`
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix symfony#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](https://curl.se/docs/http3.html#--http3) (meaning curl can fallback to HTTP/2 or HTTP/1.1).
Commits
-------
a7fc957 [HttpClient] Allow using HTTP/3 with the `CurlHttpClient`CurlHttpClient (MatTheCat)File tree
2 files changed
+3
-0
lines changed- src/Symfony/Component/HttpClient
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
0 commit comments