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





------- Additional Comments From [EMAIL PROTECTED]  2005-04-28 08:24 -------
Created an attachment (id=2815)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2815&action=view)
patch to remove unresponsive nameservers fro beginning of the list when testing
for DNS availability

This patch assumes a code change in DnsResolver->search that times out an
unresponsive query, as checked in for bug 4260.

Perl experts: I am not happy with the two lines

my @nameservers = $self->{resolver}->get_resolver->nameservers();
   and
$self->{resolver}->get_resolver->nameservers(@nameservers);

They should call a new wrapper function DnsResolver->nameservers instead of
DnsResolver->get_resolver->nameservers, but my Perl-fu was not up to getting
the use of arrays and references correct to write the simple wrapper function.
Can someone else fix that please?

I checked this in as is to rev 16149, since it does work.




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

Reply via email to