← All changes
|
includes/sdk/s3/GuzzleHttp/Handler/CurlMultiHandler.php
+3
-1
1.2.13
→
1.4.2
View file →
| @@ -198,9 +198,11 @@ | ||
| 198 | 198 | } |
| 199 | 199 | $handle = $this->handles[$id]['easy']->handle; |
| 200 | 200 | unset($this->delays[$id], $this->handles[$id]); |
| 201 | 201 | \curl_multi_remove_handle($this->_mh, $handle); |
| 202 | - \curl_close($handle); | |
| 202 | + if (\PHP_VERSION_ID < 80000) { | |
| 203 | + \curl_close($handle); | |
| 204 | + } | |
| 203 | 205 | return \true; |
| 204 | 206 | } |
| 205 | 207 | private function processMessages() : void |
| 206 | 208 | { |