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





------- Additional Comments From [EMAIL PROTECTED]  2005-08-18 10:53 -------
Created an attachment (id=3087)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3087&action=view)
better error handling and work around IO::Socket::INET6 family quirk

The patch applies on top of Justin's rev3 patch and irons out
some remaining IPv4/IPv6 issues in DnsResolver.pm (it didn't work
out of the box):

- properly report error status on unexpected failures to create socket;
  (previously undef $socket went on undetected and caused subsequent
  failure elsewhere);
- avoid 65000 attempts on other than EADDRINUSE failure;
- work around a quirk in IO::Socket::INET6 where a creation of a
  socket fails because LocalAddr is auto-asssigned but happens to
  belong to other address family; author has been notified; either
  specifying Domain explicitly or providing LocalAddr of the correct
  family explicitly avoids the problem - I chose to provide the family;

Now it works in my environment, with or without IO::Socket::INET6
(missing module properly reported when appropriate),
with IPv4 or IPv6 resolver address.
(you may want to adjust the coding style)

  Mark



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

Reply via email to