[HttpClient] shutdown verbose output from curl at destruction
This commit is contained in:
parent
2a370143a4
commit
a279d22d25
@ -225,6 +225,8 @@ final class CurlResponse implements ResponseInterface
|
|||||||
|
|
||||||
public function __destruct()
|
public function __destruct()
|
||||||
{
|
{
|
||||||
|
curl_setopt($this->handle, \CURLOPT_VERBOSE, false);
|
||||||
|
|
||||||
if (null === $this->timeout) {
|
if (null === $this->timeout) {
|
||||||
return; // Unused pushed response
|
return; // Unused pushed response
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user