From ff1235a985e91107ad86d30c8d46b2dcf4c307e3 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Fri, 3 May 2024 10:27:17 +0200 Subject: [PATCH] [HttpClient] Fix cURL default options --- Response/CurlResponse.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Response/CurlResponse.php b/Response/CurlResponse.php index 633b74a..f36a05f 100644 --- a/Response/CurlResponse.php +++ b/Response/CurlResponse.php @@ -174,10 +174,6 @@ 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, ]);