10000 [HttpClient] Fix cURL default options · symfony/symfony@cc0b957 · GitHub
[go: up one dir, main page]

Skip to content

Commit cc0b957

Browse files
[HttpClient] Fix cURL default options
1 parent a48b386 commit cc0b957

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

-4
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ 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,
181177
\CURLOPT_INFILE => null,
182178
]);
183179

0 commit comments

Comments
 (0)
0