qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ernest Allen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-6007) qpid-route uses machine hostname if host not given
Date Fri, 15 Aug 2014 18:17:19 GMT

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

Ernest Allen updated QPID-6007:
-------------------------------

    Attachment: bz1121632.patch

The patch tests if hostname is valid. If not, it defaults to trying 'localhost'.


> qpid-route uses machine hostname if host not given
> --------------------------------------------------
>
>                 Key: QPID-6007
>                 URL: https://issues.apache.org/jira/browse/QPID-6007
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Tools
>    Affects Versions: 0.18, 0.22
>            Reporter: Ernest Allen
>            Priority: Minor
>         Attachments: bz1121632.patch
>
>
> When a broker address is not supplied to qpid-route, it attempts to use the machines
hostname as the broker address. This works well when the hostname is translatable to an ip
address. However, when the hostname has been set to a non-translatable string, qpid-route
fails. 
> For backwards compatability, qpid-route should continue to use hostname when the broker
address is not supplied, but if hostname is not a valid address, qpid-route should default
to "localhost".
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message