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] [Resolved] (PROTON-1757) pn_netaddr_host_port() fails on FreeBSD
Date Thu, 01 Feb 2018 22:43:00 GMT

     [ https://issues.apache.org/jira/browse/PROTON-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher resolved PROTON-1757.
-------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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
getnameinfo.
> 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
(v7.6.3#76005)

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


Mime
View raw message