#12802 [Com]: gethostbyname/gethostbyaddr timeout

From: Date: Wed, 05 Feb 2003 12:19:55 +0000
Subject: #12802 [Com]: gethostbyname/gethostbyaddr timeout
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32179@lists.php.net to get a copy of this message
ID: 12802 Comment by: sergi@millorsoft.es Reported By: cheapsalsa@yahoo.com Status: Open Bug Type: Feature/Change Request Operating System: Linux (N/A) PHP Version: 4.0CVS-2001-08-16 New Comment: Is this bug still open? I think it's a really important bug and can cause very long retards when the DNS lookup doesn't respond or some DNS server is unreacheable. Previous Comments: ------------------------------------------------------------------------ [2001-08-16 21:03:38] cheapsalsa@yahoo.com I propose creating a timeout argument on the gethostbyname and gethostbyaddr. I have a script that uses these, and if my internet connection goes down it takes 1:30-2:00 minutes for 3 gethostbyname's to timeout. This is way to long, and it would help if I could specify a timeout. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12802&edit=1

« previous php.bugs (#32179) next »