Skip to content

Commit 25a28b3

Browse files
authored
[5.4][PHP8.5] curl_close() function has been deprecated (joomla#46198)
https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_curl_close
1 parent 142c4bc commit 25a28b3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libraries/src/Http/Transport/CurlTransport.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,6 @@ public function request($method, UriInterface $uri, $data = null, array $headers
189189
// Get the request information.
190190
$info = curl_getinfo($ch);
191191

192-
// Close the connection.
193-
curl_close($ch);
194-
195192
$response = $this->getResponse($content, $info);
196193

197194
// Manually follow redirects if server doesn't allow to follow location using curl

0 commit comments

Comments
 (0)