diff --git a/Response/CurlResponse.php b/Response/CurlResponse.php index 7e4ac1a..1d9e4be 100644 --- a/Response/CurlResponse.php +++ b/Response/CurlResponse.php @@ -177,6 +177,10 @@ public function __construct(CurlClientState $multi, \CurlHandle|string $ch, ?arr 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, ]);