[HttpClient] unset activity list when creating CurlResponse
This commit is contained in:
parent
030b10ca0d
commit
b249f00519
@ -43,6 +43,7 @@ final class CurlResponse implements ResponseInterface
|
|||||||
$this->multi = $multi;
|
$this->multi = $multi;
|
||||||
|
|
||||||
if (\is_resource($ch)) {
|
if (\is_resource($ch)) {
|
||||||
|
unset($multi->handlesActivity[(int) $ch]);
|
||||||
$this->handle = $ch;
|
$this->handle = $ch;
|
||||||
$this->debugBuffer = fopen('php://temp', 'w+');
|
$this->debugBuffer = fopen('php://temp', 'w+');
|
||||||
if (0x074000 === $curlVersion) {
|
if (0x074000 === $curlVersion) {
|
||||||
|
Reference in New Issue
Block a user