http://bugzilla.spamassassin.org/show_bug.cgi?id=4260
------- Additional Comments From [EMAIL PROTECTED] 2005-04-27 03:33 ------- I have a patch almost ready, but I'm still trying to figure out what to do with DnsResolver->search() Here are the issues: Net::Dns::Resolver->search will try each of a list of nameservers with a timeout and retry a certain number of times with increasing timeouts before giving up. That's good. DnsResolver->search uses bgsend, which can only query the first nameserver on the list, and will loop forever without timing out if there is no response. That's bad, and it happens regularly on my Win32 and Cygwin systems. I don't know why I can easily add a timeout, but it would be a lot of code to emulate the retries with increasing timeout that Net::DNS::Resolver->search already has. It does look like a retry following a failure is what does work on my system. On the other hand, as near as I can tell Net::DNS::Resolver never closes a socket. If we call Net::DNS::Resolver->search it appears to me that we will start using up fds again. I guess this implies that I should put in some kind of timeout and multiple retry that at least emulates the default behavior of Net::DNS::Resolver->search. ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
