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





------- Additional Comments From [EMAIL PROTECTED]  2005-04-12 21:35 -------
Subject: Re:  DNS answers get mixed up

> ------- Additional Comments From [EMAIL PROTECTED]  2005-04-12 21:19 -------
> 'There's no extra hit from keeping the socket.  We took a hit creating it and
> doing the query, we might as well try and get the answer.'
> 
> well, there *is* a hit, if Net::DNS somehow "loses" the real response -- 
> instead
> of getting the reply, we'd fall into a loop of waiting for a reply that will
> never  arrive until we time out.

A quick look at bgread and bgisready in Net::DNS doesn't indicate that 
either function does anything to kill off the socket/lookup/whatever, so 
I'd expect to see the answer (if it would be coming regardless of the 
first bad one).

So really there's just as good a chance of us waiting around until the 
timeout as there would be for any other lookup (that didn't first 
receive a mismatched response).

I wouldn't bother trying to read it right away though, like I mentioned 
before, that'd just clutter the code.





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

Reply via email to