mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
Display a message if select in FPM test timeouts
This commit is contained in:
@@ -622,9 +622,11 @@ class Tester
|
||||
$read = [$this->outDesc];
|
||||
$write = null;
|
||||
$except = null;
|
||||
if (stream_select($read, $write, $except, 3)) {
|
||||
$timeout = 3;
|
||||
if (stream_select($read, $write, $except, $timeout)) {
|
||||
return fgets($this->outDesc);
|
||||
} else {
|
||||
$this->error("Select timeout ($timeout seconds)");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user