You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #50235 [HttpClient] Fix getting through proxies via CONNECT (nicolas-grekas)
This PR was merged into the 5.4 branch.
Discussion
----------
[HttpClient] Fix getting through proxies via CONNECT
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Spotted while trying to hit google via `symfony proxy:start`:
```sh
https_proxy=http://127.0.0.1:7080 php test.php
```
where test.php contains:
```php
$client = new CurlHttpClient();
$r = $client->request('GET', 'https://google.com/');
dump($r->getStatusCode());
dump($r->getHeaders());
dump($r->getInfo('debug'));
```
Commits
-------
78eff39 [HttpClient] Fix getting through proxies via CONNECT
0 commit comments