Merge pull request #19 from forsureitsme/patch-2
Failsafe stream_select
This commit is contained in:
commit
e171da7c52
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ class WhoisClient {
|
||||||
|
|
||||||
while (!feof($ptr))
|
while (!feof($ptr))
|
||||||
{
|
{
|
||||||
if (stream_select($r,$null,$null,$this->STIMEOUT))
|
if (@stream_select($r,$null,$null,$this->STIMEOUT)!==false)
|
||||||
{
|
{
|
||||||
$raw .= fgets($ptr, $this->BUFFER);
|
$raw .= fgets($ptr, $this->BUFFER);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue