#12802 [Com]: gethostbyname/gethostbyaddr timeout
| From: | grimtraffic at hotmail dot com | Date: | Mon, 11 Aug 2003 03:54:13 +0000 |
| Subject: | #12802 [Com]: gethostbyname/gethostbyaddr timeout | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45698@lists.php.net to get a copy of this message | ||
ID: 12802
Comment by: grimtraffic at hotmail dot com
Reported By: cheapsalsa at yahoo dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: Linux (N/A)
PHP Version: 4.0CVS-2001-08-16
New Comment:
To be honest, no timeout has really made it hard to log users. There is
no point of logging IP's because they change too often for dial-up
users, and with my page timing out every third time someone goes to it,
I now have troubles.
By the way, 2 out of 3 who use gethostbyaddr have an issue with it
timing out constantly.
Previous Comments:
------------------------------------------------------------------------
[2003-02-05 06:19:54] sergi at millorsoft dot es
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.
------------------------------------------------------------------------
[2001-08-16 21:03:38] cheapsalsa at yahoo dot 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