diff --git a/Response/CurlResponse.php b/Response/CurlResponse.php index f36a05f..633b74a 100644 --- a/Response/CurlResponse.php +++ b/Response/CurlResponse.php @@ -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, ]);