8000 [HttpClient] shutdown verbose output from curl at destruction · symfony/symfony@a279d22 · GitHub
[go: up one dir, main page]

Skip to content

Commit a279d22

Browse files
[HttpClient] shutdown verbose output from curl at destruction
1 parent 2a37014 commit a279d22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/HttpClient/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)
0