qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1639) proton.c ipv6 test does not detect lack of ipv6 support
Date Fri, 20 Oct 2017 13:59:00 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212664#comment-16212664

ASF subversion and git services commented on PROTON-1639:

Commit b94d7dd3e72728ee002271d329c1be835b4fa161 in qpid-proton's branch refs/heads/master
from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=b94d7dd ]

PROTON-1639 proton.c ipv6 test does not detect lack of ipv6 support

The test was checking for IPV6 by listening on "::" INADDR6_ANY.

On some IPV6-capable platforms with IPV6 disabled, this listen() succeeds even
though it not possible to connect to the listening port.

Modified the test to listen() on "::1" INADDR6_LOOPBACK. A host without ipv6
disabled should report this as an error as it will not have an IPV6 loopback

> proton.c ipv6 test does not detect lack of ipv6 support
> -------------------------------------------------------
>                 Key: PROTON-1639
>                 URL: https://issues.apache.org/jira/browse/PROTON-1639
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.17.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: proton-c-0.18.0
> This test tries to listen on the ipv6 "::" undefined address, and expects that to fail
if ipv6 is not supported, in which case it skips the remaining ipv6 tests. However this has
been broken at some point as the listen attempt claims to succeed even if ipv6 has been disabled.

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