Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cc0b957

Browse filesBrowse files
[HttpClient] Fix cURL default options
1 parent a48b386 commit cc0b957
Copy full SHA for cc0b957

File tree

1 file changed

+0
-4
lines changed
Filter options

1 file changed

+0
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpClient/Response/CurlResponse.php
-4Lines changed: 0 additions & 4 deletions
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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.