php-whois icon indicating copy to clipboard operation
php-whois copied to clipboard

Timeout option

Open sirkokoenig opened this issue 3 years ago • 1 comments

Maybe I didn´t find the option, but I want to set a manual timeout. Some servers aren´t answering and then the script will run over 30s... I tried with CURL Loader, without success.

sirkokoenig avatar Jul 08 '22 10:07 sirkokoenig

Have you tried with SocketLoader? https://github.com/io-developer/php-whois/blob/9f93d372f2680f8185fb775cc71950dcdd9ce374/src/Iodev/Whois/Loaders/SocketLoader.php#L34

bessone avatar Aug 24 '22 08:08 bessone