Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
forks
symfony
Http Client
Commits
60e0be5c
Commit
60e0be5c
authored
3 years ago
by
Nicolas Grekas
Browse files
Options
Download
Patches
Plain Diff
[HttpClient] fix destructing CurlResponse
parent
35a63718
5.4
4.4
6.0
6.1
bv4.4.38
bv4.4.39
bv5.4.5
bv6.0.5
v6.0.5
v5.4.5
v4.4.39
v4.4.38
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Response/CurlResponse.php
+3
-1
Response/CurlResponse.php
with
3 additions
and
1 deletion
+3
-1
Response/CurlResponse.php
+
3
−
1
View file @
60e0be5c
...
...
@@ -233,7 +233,9 @@ final class CurlResponse implements ResponseInterface
$this
->
doDestruct
();
}
finally
{
curl_setopt
(
$this
->
handle
,
\
CURLOPT_VERBOSE
,
false
);
if
(
\
is_resource
(
$this
->
handle
)
||
$this
->
handle
instanceof
\
CurlHandle
)
{
curl_setopt
(
$this
->
handle
,
\
CURLOPT_VERBOSE
,
false
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets