Skip to content

Commit 6fff566

Browse files
[HttpClient] unset activity list when creating CurlResponse
1 parent 8d85df2 commit 6fff566

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Response/CurlResponse.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function __construct(CurlClientState $multi, $ch, array $options = null,
4343
$this->multi = $multi;
4444

4545
if (\is_resource($ch)) {
46+
unset($multi->handlesActivity[(int) $ch]);
4647
$this->handle = $ch;
4748
$this->debugBuffer = fopen('php://temp', 'w+');
4849
if (0x074000 === $curlVersion) {

0 commit comments

Comments
 (0)