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