PHP 4.0 Bug #6778: fsockopen: timeout does not work when nameserver unreachable

From: Date: Sat, 16 Sep 2000 20:20:46 +0000
Subject: PHP 4.0 Bug #6778: fsockopen: timeout does not work when nameserver unreachable
Groups: php.dev 
Request: Send a blank email to php-dev+get-33347@lists.php.net to get a copy of this message
From: thomas@kipar.de Operating system: Debian 2.2 PHP version: 4.0.1pl2 PHP Bug Type: Sockets related Bug description: fsockopen: timeout does not work when nameserver unreachable 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.

« previous php.dev (#33347) next »