Ken Giusti created PROTON-939: --------------------------------- Summary: [SSL] Regression: binding a transport erases the configured peer name Key: PROTON-939 URL: https://issues.apache.org/jira/browse/PROTON-939 Project: Qpid Proton Issue Type: Bug Components: proton-c Affects Versions: 0.10 Reporter: Ken Giusti Assignee: Ken Giusti Priority: Blocker Fix For: 0.10
If the SSL instance is configured _before_ binding, and no hostname has been configured for the connection to be bound, the peer hostname as configured on the SSL object is reset (no hostname set). To be compatible with the previous releases of proton, pn_ssl_set_peer_hostname() should take precedence over the hostname configured for the connection. e.g. the connection's hostname should be used by default, unless a hostname has been explicitly set via pn_ssl_set_peer_hostname(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)