Skip to content

Commit 297e596

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix CS Fix CS
2 parents 308f6f3 + 6260d3b commit 297e596

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
@@ -318,7 +318,7 @@ private static function perform(ClientState $multi, array &$responses = null): v
318318
$id = (int) $ch = $info['handle'];
319319
$waitFor = @curl_getinfo($ch, \CURLINFO_PRIVATE) ?: '_0';
320320

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

0 commit comments

Comments
 (0)