qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-1757) pn_netaddr_host_port() fails on FreeBSD
Date Thu, 01 Feb 2018 02:33:00 GMT
Andrew Stitcher created PROTON-1757:

             Summary: pn_netaddr_host_port() fails on FreeBSD
                 Key: PROTON-1757
                 URL: https://issues.apache.org/jira/browse/PROTON-1757
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: proton-c-0.20.0
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher
             Fix For: proton-c-0.21.0

Many tests fail when building/testing on recent FreeBSD (10 and 11).

Ultimately this is due to the FreeBSD getnameinfo insisting that the passed in socklen is
the exact correct value for the sa_family. Whereas the pn_netaddr_socklen code unconditionally
says the length is the sizeof sockaddr_storage - this is rejected by this implementation of

It's not clear that this is the correct behaviour of getnameinfo, but it's easy enough to
allow for.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message