http://bugzilla.spamassassin.org/show_bug.cgi?id=4278





------- Additional Comments From [EMAIL PROTECTED]  2005-04-24 15:44 -------
The hang appears to be in DnsResolver->search() where it is calling
poll_results(-1) which loops forever with no timeout. Just changing it to all
poll_results with a timeout doesn't help because the loop that calls it just
keeps going forever with poll_results timing out and then being called again.

I notice that the comment for search() in DnsResolver says that it is emulating
Net::DNS::Resolver->search(), but it is calling bgsend to do that. There is an
important difference between what Net::DNS::Resolver does and using bgsend. The
former does an immediate query that uses the searchlist to go through all the
nameservers. bgsend can only use the first nameserver on the searchlist, because
it backgrounds the query. I suspect that the first nameserver on my PC's list is
dodgey in some way, causing the bgsend not to work all the time. There is no
provision for a timeout and no provision for using the searchlist, hence the
call to search() never returns.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to