Skip to content

Commit 53e4cc0

Browse files
[HttpClient] Fix pausing responses before they start when using curl
1 parent 1d08414 commit 53e4cc0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Response/CurlResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public function __construct(CurlClientState $multi, $ch, ?array $options = null,
9595
$this->info['pause_handler'] = static function (float $duration) use ($ch, $multi, $execCounter) {
9696
if (0 < $duration) {
9797
if ($execCounter === $multi->execCounter) {
98-
$multi->execCounter = !\is_float($execCounter) ? 1 + $execCounter : \PHP_INT_MIN;
9998
curl_multi_remove_handle($multi->handle, $ch);
10099
}
101100

0 commit comments

Comments
 (0)