diff --git a/src/Symfony/Component/HttpClient/Response/CurlResponse.php b/src/Symfony/Component/HttpClient/Response/CurlResponse.php index fe1c16ac8d..435f6402c7 100644 --- a/src/Symfony/Component/HttpClient/Response/CurlResponse.php +++ b/src/Symfony/Component/HttpClient/Response/CurlResponse.php @@ -225,6 +225,8 @@ final class CurlResponse implements ResponseInterface public function __destruct() { + curl_setopt($this->handle, \CURLOPT_VERBOSE, false); + if (null === $this->timeout) { return; // Unused pushed response }