You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The stream generated by the response is supposed to be stream_selec()able according to the documentation.
How to reproduce
$client = \Symfony\Component\HttpClient\HttpClient::create();
$response = $client->request('GET', 'https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-10.2.0-amd64-standard.iso');
$stream = $response->toStream();
$read = [$stream];
$write = [];
$except = [];
// the following returns false !$success = @stream_select($read, $write, $except, null, 0);
var_dump($success);
// According to PHP documentation "this can happen if the system call is interrupted by an incoming signal"// wut?
The text was updated successfully, but these errors were encountered:
Only NativeHttpClient is stream-selectable. That's because curl doesn't expose any low level file handle we could pass to stream select. That's something that is missing - a feature request for bugs.php.net...
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 4.4+
PHP version: 7.3.9
Description
The stream generated by the response is supposed to be stream_selec()able according to the documentation.
How to reproduce
The text was updated successfully, but these errors were encountered: