Skip to content

Commit 22ae44d

Browse files
fix(clients): remove unneeded curl_close in CurlHttpClient (#5888)
1 parent d63e37f commit 22ae44d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clients/algoliasearch-client-php/lib/Http/CurlHttpClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public function sendRequest(
119119
$contentType = curl_getinfo($curlHandle, CURLINFO_CONTENT_TYPE);
120120

121121
$this->releaseMHandle($curlHandle);
122-
curl_close($curlHandle);
123122

124123
return new Response($statusCode, ['Content-Type' => $contentType], $responseBody, '1.1', $error);
125124
}

0 commit comments

Comments
 (0)