8000 [HttpClient] Revert fixing curl default options · symfony/symfony@365f7b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 365f7b4

Browse files
[HttpClient] Revert fixing curl default options
1 parent fbc47bc commit 365f7b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpClient/Response/CurlResponse.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ public function __construct(CurlClientState $multi, $ch, ?array $options = null,
174174
curl_multi_remove_handle($multi->handle, $ch);
175175
curl_setopt_array($ch, [
176176
\CURLOPT_NOPROGRESS => true,
177+
\CURLOPT_PROGRESSFUNCTION => null,
178+
\CURLOPT_HEADERFUNCTION => null,
179+
\CURLOPT_WRITEFUNCTION => null,
180+
\CURLOPT_READFUNCTION => null,
177181
\CURLOPT_INFILE => null,
178182
]);
179183

0 commit comments

Comments
 (0)
0