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

            Bug ID: 8047
           Summary: MSG_DONTWAIT error in DnsResolver on Windows
           Product: Spamassassin
           Version: 4.0.0
          Hardware: PC
                OS: Windows
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: sid...@sidney.com
  Target Milestone: Undefined

Created attachment 5823
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5823&action=edit
patch Workaround to MSG_DONTWAIT not existing on Windows

This has been extracted from the multiple topics in the discussion in bug 8044

On Windows, if DnsResolver gets to the line of code with MSG_DONTWAIT it
produces an error "Your vendor has not defined Socket macro MSG_DONTWAIT"

MSG_DONTWAIT is a macro defined in the perl module Socket, but the
functionality does not exist on Windows.

The workaround on Windows is to temporarily set the socket to non-blocking
mode.

The attached patch should fix this.

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

Reply via email to