[ https://issues.apache.org/jira/browse/PROTON-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268607#comment-15268607 ]
Ken Giusti commented on PROTON-1181: ------------------------------------ Link to reviewboard: https://reviews.apache.org/r/46879/ > [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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org