Skip to content

Commit 6260d3b

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Fix CS
2 parents cfd85e4 + 992d84c commit 6260d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Response/CurlResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private static function perform(ClientState $multi, array &$responses = null): v
316316
$id = (int) $ch = $info['handle'];
317317
$waitFor = @curl_getinfo($ch, \CURLINFO_PRIVATE) ?: '_0';
318318

319-
if (\in_array($result, [\CURLE_SEND_ERROR, \CURLE_RECV_ERROR, /*CURLE_HTTP2*/ 16, /*CURLE_HTTP2_STREAM*/ 92], true) && $waitFor[1] && 'C' !== $waitFor[0]) {
319+
if (\in_array($result, [\CURLE_SEND_ERROR, \CURLE_RECV_ERROR, /* CURLE_HTTP2 */ 16, /* CURLE_HTTP2_STREAM */ 92], true) && $waitFor[1] && 'C' !== $waitFor[0]) {
320320
curl_multi_remove_handle($multi->handle, $ch);
321321
$waitFor[1] = (string) ((int) $waitFor[1] - 1); // decrement the retry counter
322322
curl_setopt($ch, \CURLOPT_PRIVATE, $waitFor);

0 commit comments

Comments
 (0)