Skip to content

Commit 3eee610

Browse files
[HttpClient] shutdown verbose output from curl at destruction
1 parent 10e1ee6 commit 3eee610

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Response/CurlResponse.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ public function getContent(bool $throw = true): string
225225

226226
public function __destruct()
227227
{
228+
curl_setopt($this->handle, \CURLOPT_VERBOSE, false);
229+
228230
if (null === $this->timeout) {
229231
return; // Unused pushed response
230232
}

0 commit comments

Comments
 (0)