Bug #6778 Updated: fsockopen: timeout does not work when nameserver unreachable
| From: | andy@php.net | Date: | Sun, 22 Jul 2001 01:56:37 +0000 |
| Subject: | Bug #6778 Updated: fsockopen: timeout does not work when nameserver unreachable | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60543@lists.php.net to get a copy of this message | ||
ID: 6778
Updated by: andy
Reported By: thomas@kipar.de
Status: Closed
Bug Type: Sockets related
Operating System: Debian 2.2
PHP Version: 4.0.1pl2
New Comment:
Please upgrade to the latest version of PHP. Re-open if
still exists.
Previous Comments:
------------------------------------------------------------------------
[2001-07-21 21:55:50] andy@php.net
Please upgrade to the latest version of PHP. Re-open if
still exists.
------------------------------------------------------------------------
[2000-09-16 16:20:46] thomas@kipar.de
When doing a plain
fsockopen ("www.anyhost.com",$port,&$errno,&$errstr,$timeout) ...
and the nameserver for this host does not respond, is unreachable or at least extremely slow (host
www.anyhost.com produces 'A record not found'), fsockopen won't return after $timeout
(3secs for example)!
It hangs for at least 100-120 s.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=6778&edit=1