[HttpClient] Fix perf issue when doing thousands of requests with curl
This commit is contained in:
parent
e8b31ff608
commit
e388b739ed
@ -142,7 +142,6 @@ final class CurlResponse implements ResponseInterface
|
|||||||
// Schedule the request in a non-blocking way
|
// Schedule the request in a non-blocking way
|
||||||
$multi->openHandles[$id] = [$ch, $options];
|
$multi->openHandles[$id] = [$ch, $options];
|
||||||
curl_multi_add_handle($multi->handle, $ch);
|
curl_multi_add_handle($multi->handle, $ch);
|
||||||
self::perform($multi);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user