Bug #12773 Updated: gethostbyname with timeout

From: Date: Sun, 04 Nov 2001 21:09:30 +0000
Subject: Bug #12773 Updated: gethostbyname with timeout
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69612@lists.php.net to get a copy of this message
ID: 12773 Updated by: sander Reported By: richard@phase.org Old Status: Open Status: Duplicate Bug Type: Feature/Change Request Operating System: PHP Version: 4.0.6 New Comment: Dupe of 12802, which has more info so I'm closing this one. Previous Comments: ------------------------------------------------------------------------ [2001-08-15 16:46:14] richard@phase.org 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 this bug report at http://bugs.php.net/?id=12773&edit=1

« previous php.dev (#69612) next »