Skip to content

Commit 6822306

Browse files
authored
Close curl handle after removing them from curl-multi-handle (#109)
1 parent 0133cfa commit 6822306

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/HttpClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function getMulti(array $urls, array $headers): array
6969
$result[$url] = [$responseCode, $response];
7070

7171
curl_multi_remove_handle($mh, $handle);
72+
curl_close($handle);
7273
}
7374
curl_multi_close($mh);
7475

0 commit comments

Comments
 (0)