[ 
https://issues.apache.org/jira/browse/QPID-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127435#comment-14127435
 ] 

ASF subversion and git services commented on QPID-6007:
-------------------------------------------------------

Commit 1623871 from [~justi9] in branch 'qpid/trunk'
[ https://svn.apache.org/r1623871 ]

QPID-6007: Test if hostname is valid; if not, default to trying localhost; this 
is a patch from Ernie Allen

> 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.3.4#6332)

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

Reply via email to