https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8044

--- Comment #38 from Henrik Krohns <[email protected]> ---
(In reply to Sidney Markowitz from comment #24)
> Created attachment 5822 [details]
> MSG_DONTWAIT workaround for Windows in DnsResolver, v3
> 
> version 3, now with fewer typos!

I think the logic has bug..

$self->{sock}->blocking(0) unless(RECV_FLAGS);
..
$self->{sock}->blocking(1) if(RECV_FLAGS);

Both should be unless(RECV_FLAGS) so the blocking is correctly unset and set?

$self->{sock}->blocking(0) unless(RECV_FLAGS);
..
$self->{sock}->blocking(1) unless(RECV_FLAGS);

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

Reply via email to