[
https://issues.apache.org/jira/browse/PROTON-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Giusti closed PROTON-1181.
------------------------------
Resolution: Won't Fix
It is not proper to meld the TCP host address with the AMQP 1.0 Connection Open
hostname. The hostname in the Open performative is the virtual host, which is
distinct from the TCP host address.
> [reactor] Use the host passed to pn_reactor_connection_to_host as default
> hostname for open frame
> -------------------------------------------------------------------------------------------------
>
> Key: PROTON-1181
> URL: https://issues.apache.org/jira/browse/PROTON-1181
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c, proton-j, python-binding
> Affects Versions: 0.13.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Fix For: 0.13.0
>
>
> Modify the 'connection_to_host' reactor interface to use the passed host
> parameter as the default for the connection's hostname sent in the open frame.
> This should only be done if the host parameter is NOT a numerical IP address
> (do it for DNS-like names).
> Modify the pn_connection_set_hostname() to take a NULL argument so the
> default can be reset (e.g. no hostname in open frame).
> The default can be overridden by setting the desired hostname via the
> connection's set_hostname method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]