Bug #12773: gethostbyname with timeout
| From: | richard at phase dot org | Date: | Wed, 15 Aug 2001 20:46:14 +0000 |
| Subject: | Bug #12773: gethostbyname with timeout | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63334@lists.php.net to get a copy of this message | ||
From: richard@phase.org
Operating system:
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: gethostbyname with timeout
gethostbyname can appear to hang indefinitely; I assume that this happens
if the expected DNS responses are not forthcoming. Unfortunately if this
happens in a webpage it can cause a cache or browser timeout, losing the
entire page. A variant of this function with an optional timeout parameter
would solve this problem.
--
Edit bug report at: http://bugs.php.net/?id=12773&edit=1