You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/08/10 15:32:22 UTC

[jira] [Updated] (QPID-4732) Python client qpid.connection object's string conversion fails with IPv6 addresses

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

Justin Ross updated QPID-4732:
------------------------------
    Fix Version/s:     (was: Future)

> Python client qpid.connection object's string conversion fails with IPv6 addresses
> ----------------------------------------------------------------------------------
>
>                 Key: QPID-4732
>                 URL: https://issues.apache.org/jira/browse/QPID-4732
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.22
>            Reporter: Ken Giusti
>            Priority: Minor
>
> Bug found by Bill Freeman.
> The __str__ method for the qpid.connection object assumes an IPv4 address.  If an IPv6 address is returned, it will fail.  Example:
> For IPv6 getsockname() returns:
>     ('::1', 49845, 0, 0)
> but the conversion uses this format:
> return "%s:%s" % self.sock.getsockname()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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