You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2016/04/20 23:38:25 UTC

[jira] [Created] (PROTON-1181) [reactor] Use the host passed to pn_reactor_connection_to_host as default hostname for open frame

Ken Giusti created PROTON-1181:
----------------------------------

             Summary: [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
             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org