PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_DNS » Bug #8592

send_udp_no_sock_lib doesn't doesn't query remaining name servers upon timeout

Details

Submitted2006-08-30 19:39 UTC
Fromgreg_bradford at usa dot net
Assignedbate
StatusClosed
PackageNet_DNS
PHP Version5.1.2
OSLinux
Roadmaps(Not assigned)

Comments

[2006-08-30 19:39 UTC] greg_bradford at usa dot net

Description:
------------
The function send_udp_no_sock_lib in Resolver.php will not query remaining name servers when the current name server being queried fails to answer within the timeout period.

I suspect it is the same issue reported in Bug #4124 against the send_udp_with_sock_lib function that has been fixed.

It appears that the following lines should be moved out of the name server query loop to the bottom of the function.

Line 848: $this->errorstring = "query timed out";
Line 849: return(NULL);