diff --git a/src/Symfony/Component/HttpClient/Response/CurlResponse.php b/src/Symfony/Component/HttpClient/Response/CurlResponse.php index 8cb5081e70..e9db983d7b 100644 --- a/src/Symfony/Component/HttpClient/Response/CurlResponse.php +++ b/src/Symfony/Component/HttpClient/Response/CurlResponse.php @@ -167,6 +167,7 @@ final class CurlResponse implements ResponseInterface if (!\in_array(curl_getinfo($this->handle, CURLINFO_PRIVATE), ['headers', 'content'], true)) { rewind($this->debugBuffer); $info['debug'] = stream_get_contents($this->debugBuffer); + curl_setopt($this->handle, CURLOPT_VERBOSE, false); fclose($this->debugBuffer); $this->debugBuffer = null; $this->finalInfo = $info;