Skip to content

Commit

Permalink
[HttpClient] Revert fixing curl default options
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed May 7, 2024
1 parent fbc47bc commit 365f7b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Symfony/Component/HttpClient/Response/CurlResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ public function __construct(CurlClientState $multi, $ch, ?array $options = null,
curl_multi_remove_handle($multi->handle, $ch);
curl_setopt_array($ch, [
\CURLOPT_NOPROGRESS => true,
\CURLOPT_PROGRESSFUNCTION => null,
\CURLOPT_HEADERFUNCTION => null,
\CURLOPT_WRITEFUNCTION => null,
\CURLOPT_READFUNCTION => null,
\CURLOPT_INFILE => null,
]);

Expand Down

0 comments on commit 365f7b4

Please sign in to comment.