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 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: [email protected]
For additional commands, e-mail: [email protected]