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





------- Additional Comments From [EMAIL PROTECTED]  2005-08-18 16:38 -------
> The main point is in reporting the $! when
> IO::Socket::INET*->new fails and the $! is not some 
> expected status like EIADDRINUSE

That makes sense. WHat I was trying to avoid in not checking for EIADDRINUSE is
having it all fail due to some other relatively benign error that is like
EIADDRINUSE.

Which is more correct would depend on whether you are confident that anything
other than EIADDRINUSE and the INET6 problem is a hard error that will persist
across further attempts on different ports, or whether you aren't sure if there
might be such temporary errors other than EIADDRINUSE.

Since I don't know much abo9ut the various error status codes when trying to
open a socket, I chose the latter. However, the difficulty you had in debugging
this certainly demonstrates the benefits of your approach when an unforseen hard
error does happen.

I'll leave the decision on which way to go with this to Justin or other
committers who want to express an opinion about it.



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

Reply via email to