Gordon Sim created PROTON-2065: ---------------------------------- Summary: Provide single method to determine 'virtual host' Key: PROTON-2065 URL: https://issues.apache.org/jira/browse/PROTON-2065 Project: Qpid Proton Issue Type: Improvement Reporter: Gordon Sim
There are three places in which a hostname can be set by a client connecting to an AMQP service: (1) in the SNI entry in TLS, (2) in the hostname of the sasl-init frame or (3) in the hostname of the open frame. It would be helpful if proton either made it easy to get all three of these (where provided) via the pn_connection_t object or better still if there was a single function call (again, operating on the pn_connection_t object) that would verify that the three fields were consistent if specified and return the value or else return the 'most authoritative' value and perhaps some indication that they were not consistent or an error. This would make it much simpler for server applications using proton - such as the dispatch router - to robustly and securely implement virtual hosting. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org