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 365f7b4

Browse filesBrowse files
[HttpClient] Revert fixing curl default options
1 parent fbc47bc commit 365f7b4
Copy full SHA for 365f7b4

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
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: 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.